Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-3385

missing permission lock check in ll_have_md_lock.

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.1, Lustre 2.5.0
    • None
    • None
    • 3
    • 8384

    Description

      In ll_have_md_lock, it check the lock with

      for (i = 0; i < MDS_INODELOCK_MAXSHIFT && *bits != 0; i++)

      { ........ }

      So the last bit(PERM) of INODELOCK is missing from the check.

      Attachments

        Issue Links

          Activity

            [LU-3385] missing permission lock check in ll_have_md_lock.

            Patch landed to master. Let me know if more patches are needed and I will reopen this ticket.

            jlevi Jodi Levi (Inactive) added a comment - Patch landed to master. Let me know if more patches are needed and I will reopen this ticket.
            adilger Andreas Dilger added a comment - http://review.whamcloud.com/6438

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: