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

cl_max_dirty_pages not zeroed on startup

Details

    • 3
    • 9223372036854775807

    Description

      cl_dirty_max_pages (the internal representation of max_dirty_mb) is not zeroed at initialization.  The function client_adjust_max_dirty is called, but it only sets it if the value is <= 0, which will be true most of the time for random memory...  But not all of the time.

      So sometimes cl_max_dirty_pages ends up at some random positive value.  Easy fix.

      Attachments

        Activity

          [LU-11919] cl_max_dirty_pages not zeroed on startup

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34458/
          Subject: LU-11919 llite: Initialize cl_dirty_max_pages
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set:
          Commit: 7c8d60106acd5a781660a05fef7612a7db5b243f

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34458/ Subject: LU-11919 llite: Initialize cl_dirty_max_pages Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 7c8d60106acd5a781660a05fef7612a7db5b243f

          Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34458
          Subject: LU-11919 llite: Initialize cl_dirty_max_pages
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set: 1
          Commit: f5c0d51c8e372de438a2c469e9cfbfc96d888ccd

          gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34458 Subject: LU-11919 llite: Initialize cl_dirty_max_pages Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: f5c0d51c8e372de438a2c469e9cfbfc96d888ccd
          pjones Peter Jones added a comment -

          Landed for 2.13

          pjones Peter Jones added a comment - Landed for 2.13

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34173/
          Subject: LU-11919 llite: Initialize cl_dirty_max_pages
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 2e9c896dec6d5c582c5dd24d3026e8324dfa807c

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34173/ Subject: LU-11919 llite: Initialize cl_dirty_max_pages Project: fs/lustre-release Branch: master Current Patch Set: Commit: 2e9c896dec6d5c582c5dd24d3026e8324dfa807c

          Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34173
          Subject: LU-11919 llite: Initialize cl_dirty_max_pages
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6f7ceb99574ddf136f18ba77c3a3c41887464529

          gerrit Gerrit Updater added a comment - Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34173 Subject: LU-11919 llite: Initialize cl_dirty_max_pages Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6f7ceb99574ddf136f18ba77c3a3c41887464529

          This is the issue causing the odd max_dirty_mb values.  (The grant request issue is separate and should still be fixed with that patch.)

          pfarrell Patrick Farrell (Inactive) added a comment - This is the issue causing the odd max_dirty_mb values.  (The grant request issue is separate and should still be fixed with that patch.)

          People

            pfarrell Patrick Farrell (Inactive)
            pfarrell Patrick Farrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: