[LU-397] lustre 2.0 client can not mount to lustre 2.1 server Created: 06/Jun/11  Updated: 14/Jun/11  Resolved: 13/Jun/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.0.0
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Minor
Reporter: nasf (Inactive) Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4987

 Description   

The commit 06a67987e06f7fa9c0bfde549d54e2bed0a78ade introduced server identifier into lu_seq_range to distinguish between MDT and OST fids. But for old 2.0 client, it did not specify such identifier/flags, then caused 'fld_server_lookup()' failure.



 Comments   
Comment by Andreas Dilger [ 07/Jun/11 ]

I can't understand how this change could have affected the network protocol. It renamed the "lsr_mdt" field to "lsr_index", and "lsr_padding" to "lsr_flags", and replaced a constant "0" with LU_SEQ_RANGE_MDT, which is defined as 0 itself.

Comment by nasf (Inactive) [ 07/Jun/11 ]

It should be, but the parameter of "res" for 'fld_server_lookup()' is allocated on stack, some fields, including "lsr_padding/lsr_flags" is not initialized, so the value of "lsr_flags" may be not zero.

Comment by nasf (Inactive) [ 07/Jun/11 ]

The patch to be inspected:

http://review.whamcloud.com/#change,902

Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/include/lustre/lustre_idl.h
  • lustre/fld/fld_handler.c
  • lustre/mds/mds_lov.c
  • lustre/llite/llite_lib.c
  • lustre/obdecho/echo_client.c
  • lustre/cmm/mdc_device.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/fld/fld_handler.c
  • lustre/obdecho/echo_client.c
  • lustre/mds/mds_lov.c
  • lustre/cmm/mdc_device.c
  • lustre/llite/llite_lib.c
  • lustre/include/lustre/lustre_idl.h
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/llite/llite_lib.c
  • lustre/mds/mds_lov.c
  • lustre/fld/fld_handler.c
  • lustre/cmm/mdc_device.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/obdecho/echo_client.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/llite/llite_lib.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/fld/fld_handler.c
  • lustre/obdecho/echo_client.c
  • lustre/mds/mds_lov.c
  • lustre/cmm/mdc_device.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,server,el5,ofa #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/obdecho/echo_client.c
  • lustre/cmm/mdc_device.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/mds/mds_lov.c
  • lustre/llite/llite_lib.c
  • lustre/fld/fld_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/include/lustre/lustre_idl.h
  • lustre/cmm/mdc_device.c
  • lustre/mds/mds_lov.c
  • lustre/fld/fld_handler.c
  • lustre/obdecho/echo_client.c
  • lustre/llite/llite_lib.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/include/lustre/lustre_idl.h
  • lustre/mds/mds_lov.c
  • lustre/cmm/mdc_device.c
  • lustre/obdecho/echo_client.c
  • lustre/fld/fld_handler.c
  • lustre/llite/llite_lib.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/cmm/mdc_device.c
  • lustre/mds/mds_lov.c
  • lustre/llite/llite_lib.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/obdecho/echo_client.c
  • lustre/fld/fld_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,ofa #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/mds/mds_lov.c
  • lustre/cmm/mdc_device.c
  • lustre/obdecho/echo_client.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/fld/fld_handler.c
  • lustre/llite/llite_lib.c
Comment by nasf (Inactive) [ 13/Jun/11 ]

The patch is landed to lustre-2.1 candidate.

Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,client,el5,ofa #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/include/lustre/lustre_idl.h
  • lustre/fld/fld_handler.c
  • lustre/mds/mds_lov.c
  • lustre/obdecho/echo_client.c
  • lustre/cmm/mdc_device.c
  • lustre/llite/llite_lib.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/include/lustre/lustre_idl.h
  • lustre/llite/llite_lib.c
  • lustre/mds/mds_lov.c
  • lustre/cmm/mdc_device.c
  • lustre/fld/fld_handler.c
  • lustre/obdecho/echo_client.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/include/lustre/lustre_idl.h
  • lustre/llite/llite_lib.c
  • lustre/cmm/mdc_device.c
  • lustre/mds/mds_lov.c
  • lustre/obdecho/echo_client.c
  • lustre/fld/fld_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/cmm/mdc_device.c
  • lustre/mds/mds_lov.c
  • lustre/obdecho/echo_client.c
  • lustre/llite/llite_lib.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/fld/fld_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #167
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/fld/fld_handler.c
  • lustre/mds/mds_lov.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/obdecho/echo_client.c
  • lustre/llite/llite_lib.c
  • lustre/cmm/mdc_device.c
Comment by Build Master (Inactive) [ 14/Jun/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #170
LU-397 Set 'lsr_flags' as 'LU_SEQ_RANGE_MDT' for old 2.0 client

Oleg Drokin : 47bd80c90b9875871ceacbba75d6ef7157e89e73
Files :

  • lustre/obdecho/echo_client.c
  • lustre/include/lustre/lustre_idl.h
  • lustre/fld/fld_handler.c
  • lustre/mds/mds_lov.c
  • lustre/cmm/mdc_device.c
  • lustre/llite/llite_lib.c
Generated at Sat Feb 10 01:06:37 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.