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

Use zfs internals to manage the zrlock

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Lustre 2.12.2
    • lustre servers using ZFS 0.8.1+
    • 3
    • 9223372036854775807

    Description

      The fix for LU-12510 was only a temporary work around. Currently Lustre manages the zrlock directly but this can collide with ZFS doing with the same thing which can lead to dead locks. The proper fix it so use the ZFS lock management functions provided by ZFS. https://github.com/zfsonlinux/zfs/pull/9027 landed a patch to export the needed functions for Lustre to use. This ticket will track the proper locking implementation.

      Attachments

        Issue Links

          Activity

            [LU-12607] Use zfs internals to manage the zrlock

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55821
            Subject: LU-12607 osd-zfs: use proper locking for dnodes
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: bea303930c81351f4e742f804887e445686cc34a

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55821 Subject: LU-12607 osd-zfs: use proper locking for dnodes Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: bea303930c81351f4e742f804887e445686cc34a
            pjones Peter Jones added a comment -

            Alex will look into the longer term fix

            pjones Peter Jones added a comment - Alex will look into the longer term fix

            People

              bzzz Alex Zhuravlev
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: