Details

    • Technical task
    • Resolution: Fixed
    • Critical
    • Lustre 2.7.0
    • None
    • 10552

    Description

      For ldiskfs-based backend, the OI scrub scans the local device linearly. It iterates all the inodes on the ldiskfs partition in the inode tables in each block group without distinguishing whether the block group that contains the inode table has been initialised or not. In fact, to speed up the mke2fs and local e2fsck, the ldiskfs supports "uninit_bg" feature that allows to create the backend-filesystem without initializing all of the block groups, then dramatically reduce e2fsck time.

      So for the iteration used by the new LFSCK (including backend OI scrub), it should also make use of such feature to skip uninitialised block groups to optimise the scanning.

      Attachments

        Activity

          [LU-1452] LFSCK 4: Improve inode iteration for uninitialized groups

          Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/13338
          Subject: LU-1452 scrub: test for skipping uninitialized groups
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 813640e4144042ff774ea54417073a5f4f9e2ce3

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/13338 Subject: LU-1452 scrub: test for skipping uninitialized groups Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 813640e4144042ff774ea54417073a5f4f9e2ce3

          The patch has been landed to master.

          yong.fan nasf (Inactive) added a comment - The patch has been landed to master.

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12737/
          Subject: LU-1452 scrub: OI scrub skips uninitialized groups
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 9ce1fdd9b79bca5cd4dbeb4740fbc889c573d5fc

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12737/ Subject: LU-1452 scrub: OI scrub skips uninitialized groups Project: fs/lustre-release Branch: master Current Patch Set: Commit: 9ce1fdd9b79bca5cd4dbeb4740fbc889c573d5fc

          Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/12737
          Subject: LU-1452 scrub: OI scrub skips uninitialized groups
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 3
          Commit: 215bdd0e1384a2c27b9cf4ca0e19fefbe61f10c4

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/12737 Subject: LU-1452 scrub: OI scrub skips uninitialized groups Project: fs/lustre-release Branch: master Current Patch Set: 3 Commit: 215bdd0e1384a2c27b9cf4ca0e19fefbe61f10c4

          Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/12737
          Subject: LU-1452 scrub: OI scrub skips uninitialized groups
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 2
          Commit: d85bf60a31d617b3fd69cd33e652d71fc44e2030

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/12737 Subject: LU-1452 scrub: OI scrub skips uninitialized groups Project: fs/lustre-release Branch: master Current Patch Set: 2 Commit: d85bf60a31d617b3fd69cd33e652d71fc44e2030

          Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/12737
          Subject: LU-1452 scrub: OI scrub skips uninitialized groups
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 5abec40daf05205d1cf04fcf2eac2c2924b814b0

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/12737 Subject: LU-1452 scrub: OI scrub skips uninitialized groups Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5abec40daf05205d1cf04fcf2eac2c2924b814b0
          spitzcor Cory Spitz added a comment -

          This ticket could use a better description.

          spitzcor Cory Spitz added a comment - This ticket could use a better description.

          People

            yong.fan nasf (Inactive)
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: