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

Convert cl_object_attr_lock to rwlock

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      Under some shared file workloads, the cl_object_attr_lock ends up 'hot'.  As suggested in an old comment, it can easily be converted to an rwlock, which is useful because it is often taken for read.

      Attachments

        Activity

          [LU-12782] Convert cl_object_attr_lock to rwlock

          "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51350
          Subject: LU-12782 osc: Do not touch object attrs for every page
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: afd5c1d8db40386a18719d2712ee9ab498a039a8

          gerrit Gerrit Updater added a comment - "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51350 Subject: LU-12782 osc: Do not touch object attrs for every page Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: afd5c1d8db40386a18719d2712ee9ab498a039a8

          "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51347
          Subject: LU-12782 llite: rationalize cl_object_attr locking
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 77e40614005615d0477a3ebbc59904bc7d20af54

          gerrit Gerrit Updater added a comment - "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51347 Subject: LU-12782 llite: rationalize cl_object_attr locking Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 77e40614005615d0477a3ebbc59904bc7d20af54

          This is a recent addition to the io500 branch, which is expected to help performance a bit on hard write and hard read (particularly hard read).

          pfarrell Patrick Farrell (Inactive) added a comment - This is a recent addition to the io500 branch, which is expected to help performance a bit on hard write and hard read (particularly hard read).

          Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36229
          Subject: LU-12782 llite: Convert attr lock to rwlock
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 74615ac8e41c82096d6e726ef3dc50a196fb3670

          gerrit Gerrit Updater added a comment - Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36229 Subject: LU-12782 llite: Convert attr lock to rwlock Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 74615ac8e41c82096d6e726ef3dc50a196fb3670

          People

            dongyang Dongyang Li
            pfarrell Patrick Farrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: