Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19 imperative recovery
  3. LU-731

export ldlm_lock_set_data and implement it correctly

Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0
    • None
    • None
    • 4889

    Description

      ldlm_lock_set_data() will be needed by llog process code. It used to set ->l_ast_data unconditionally which is incorrect, we should check the data before setting it.

      Attachments

        Issue Links

          Activity

            [LU-731] export ldlm_lock_set_data and implement it correctly
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.2.0 [ 10082 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Parent New: LU-19 [ 10116 ]
            Issue Type Original: Improvement [ 4 ] New: Technical task [ 7 ]

            Integrated in lustre-master » i686,server,el5,ofa #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/include/lustre_dlm.h
            • lustre/ldlm/ldlm_lock.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,server,el5,ofa #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/include/lustre_dlm.h lustre/ldlm/ldlm_lock.c

            Integrated in lustre-master » i686,client,el5,inkernel #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/include/lustre_dlm.h
            • lustre/ldlm/ldlm_lock.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,client,el5,inkernel #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/include/lustre_dlm.h lustre/ldlm/ldlm_lock.c

            Integrated in lustre-master » i686,server,el5,inkernel #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/include/lustre_dlm.h
            • lustre/ldlm/ldlm_lock.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,server,el5,inkernel #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/include/lustre_dlm.h lustre/ldlm/ldlm_lock.c

            Integrated in lustre-master » x86_64,server,el6,inkernel #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/ldlm/ldlm_lock.c
            • lustre/include/lustre_dlm.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,server,el6,inkernel #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/ldlm/ldlm_lock.c lustre/include/lustre_dlm.h

            Integrated in lustre-master » i686,client,el5,ofa #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/include/lustre_dlm.h
            • lustre/ldlm/ldlm_lock.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,client,el5,ofa #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/include/lustre_dlm.h lustre/ldlm/ldlm_lock.c

            Integrated in lustre-master » i686,client,el6,inkernel #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/ldlm/ldlm_lock.c
            • lustre/include/lustre_dlm.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,client,el6,inkernel #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/ldlm/ldlm_lock.c lustre/include/lustre_dlm.h

            Integrated in lustre-master » x86_64,client,el5,ofa #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/ldlm/ldlm_lock.c
            • lustre/include/lustre_dlm.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,client,el5,ofa #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/ldlm/ldlm_lock.c lustre/include/lustre_dlm.h

            Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #292
            LU-731 ldlm: revise and export ldlm_lock_set_data

            Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51
            Files :

            • lustre/ldlm/ldlm_lock.c
            • lustre/include/lustre_dlm.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #292 LU-731 ldlm: revise and export ldlm_lock_set_data Oleg Drokin : 43c01b9d94e783295edc2d1432ed3af0076a0e51 Files : lustre/ldlm/ldlm_lock.c lustre/include/lustre_dlm.h

            People

              jay Jinshan Xiong (Inactive)
              jay Jinshan Xiong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: