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

osd-ldiskfs: cache unaligned page to avoid RMW

Details

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

    Description

      It would better to cache the unaligned page in kernel page cache to avoid the subsequent writes on the same page which may trigger the expensive Read-Modify-Write (RMW).
      And when prepare write, if the page is mapping-ed and uptodate, it can avoid read it before write even it is not page-aligned.

      Attachments

        Activity

          [LU-16761] osd-ldiskfs: cache unaligned page to avoid RMW

          "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50717
          Subject: LU-16761 osd-ldiskfs: skip Uptodate page to avoid RMW
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 67b4e69ae414432d17178da129ab0a7f28c4b4b2

          gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50717 Subject: LU-16761 osd-ldiskfs: skip Uptodate page to avoid RMW Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 67b4e69ae414432d17178da129ab0a7f28c4b4b2

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: