Whamcloud - gitweb
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client
authornasf <yong.fan@whamcloud.com>
Tue, 7 Jun 2011 03:41:24 +0000 (11:41 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Jun 2011 00:07:43 +0000 (17:07 -0700)
commit47bd80c90b9875871ceacbba75d6ef7157e89e73
tree0576533b92a4b6026bcca40b9ecc20654871889f
parentc4e3a69dd9a335d54f747d2e969edefe7bcce4cd
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Lustre 2.x introduces server identifier into lu_seq_range to distinguish
MDT and OST fids. But for old 2.0 client, it does not specify such
identifier/flags. So use 'OBD_CONNECT_SEQ_RANGE' to distinguish whether
it is old 2.0 client or not. For old 2.0 client, set the 'lsr_flags' as
'LU_SEQ_RANGE_MDT' by default.

Change-Id: I652caa637959268e1da499370a0efd356ff98bbe
Signed-off-by: nasf <yong.fan@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/902
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/cmm/mdc_device.c
lustre/fld/fld_handler.c
lustre/include/lustre/lustre_idl.h
lustre/llite/llite_lib.c
lustre/mds/mds_lov.c
lustre/obdecho/echo_client.c