Whamcloud - gitweb
LU-14438 ldiskfs: backport ldiskfs mballoc patches 72/51472/22
authorBobi Jam <bobijam@whamcloud.com>
Tue, 3 Sep 2024 15:42:43 +0000 (23:42 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 10 Apr 2025 06:50:36 +0000 (06:50 +0000)
commit1534c43ccb034048d8ab0a22cb55635116eebe09
tree44d234a7e07d160ba1f630938e9650939b1a033d
parent9d5d5c72b7b8665236fedb66f34d973e239cb03c
LU-14438 ldiskfs: backport ldiskfs mballoc patches

This contains following kernel patches:

cfd732377221 ("ext4: add prefetching for block allocation bitmaps")
3d392b2676bf ("ext4: add prefetch_block_bitmaps mount option")
dddcd2f9ebde ("ext4: optimize the implementation of
     ext4_mb_good_group()")
67d251860461 ("ext4: drop s_mb_bal_lock and convert protected fields
                     to atomic")
a6c75eaf1103 ("ext4: add mballoc stats proc file")
4b68f6df1059 ("ext4: add MB_NUM_ORDERS macro")
196e402adf2e ("ext4: improve cr 0 / cr 1 group scanning")
21175ca434c5 ("ext4: make prefetch_block_bitmaps default")
077d0c2c78df ("ext4: make mb_optimize_scan performance mount option
                     work with extents")
3fa5d23e68a3 ("ext4: reflect mb_optimize_scan value in options file")
4fca50d440cc ("ext4: make mballoc try target group first even with
                     mb_optimize_scan")
1940265ede66 ("ext4: avoid unnecessary spreading of allocations among
                     groups")
a9f2a2931d0e ("ext4: use locality group preallocation for small
                     closed files")
83e80a6e3543 ("ext4: use buckets for cr 1 block scan instead of
                     rbtree")
80fa46d6b9e7 ("ext4: limit the number of retries after discarding
                     preallocations blocks")
a078dff87013 ("ext4: fixup possible uninitialized variable access in
                     ext4_mb_choose_next_group_cr1()")
820897258ad3 ("ext4: Refactor code related to freeing PAs")
5354b2af3406 ("ext4: allow ext4_get_group_info() to fail")
3c6296046c85 ("ext4: Don't skip prefetching BLOCK_UNINIT groups")
4f3d1e4533b0 ("ext4: Ensure ext4_mb_prefetch_fini() is called for all
                     prefetched BGs")

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I079dfb74bd743894934484803cedb683073e4d94
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51472
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
26 files changed:
ldiskfs/kernel_patches/patches/rhel8.8/ext4-add-MB_NUM_ORDERS-macro.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-add-mballoc-stats-proc-file.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-add-prefetch-block-bitmap-mount-option.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-add-prefetching-for-block-allocation-bitmaps.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-allow-ext4_get_group_info-to-fail.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-avoiod-unnecessary-spreading-of-allocations.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-drop-s_mb_bal_lock-convert-protected-fields-to-atomic.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-ensure-ext4_mb_prefetch_fini-called-for-all-prefetched-bg.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-fixup-possible-uninit-var-in-ext4_mb_choose_next_group_cr1.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-improve-cr0-cr1-group-scanning.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-limit-number-of-retries-after-discard-prealloc-blocks.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-make-mb_optimize_scan-performance-with-extents.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-make-mballoc-try-target-group-first.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-make-prefetch_block_bitmaps-default.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-not-skip-prefetching-BLOCK_UNINIT-groups.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-optimize-the-ext4_mb_good_group.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-refactor-code-related-to-freeing-pa.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-reflect-mb_optimize_scan-value-in-options.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-use-buckets-for-cr1-block-scan.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel8.8/ext4-use-locality-group-preallocation-for-small-files.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel9.4/ext4-allow-ext4_get_group_info-to-fail.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/rhel9.4/ext4-not-skip-prefetching-BLOCK_UNINIT-groups.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-4.18-rhel8.10.series
ldiskfs/kernel_patches/series/ldiskfs-4.18-rhel8.8.series
ldiskfs/kernel_patches/series/ldiskfs-5.14-rhel9.4.series
ldiskfs/kernel_patches/series/ldiskfs-5.14-rhel9.5.series