Whamcloud - gitweb
EX-8369 ldiskfs: mballoc to store group in pa
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 19 Oct 2023 04:49:45 +0000 (07:49 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 21 Oct 2023 17:39:30 +0000 (17:39 +0000)
commitdfc22cde5ef2f0b286f0c897cda3e3523239a414
tree75f0a291d9698c2c2f861fdb63eb1bc322689c7c
parent9940ce15992246e2aa11061a0e70c90b0616c158
EX-8369 ldiskfs: mballoc to store group in pa

mballoc should store and then use group number from pa,
not calculate it from pa_pstart which change and point to
a subsequent group in the case of full pa consumption.

Fixes: f36eda6a1e ("LU-10026 osd-ldiskfs: use preallocation for dense writes")
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I5e3c5c7e51fe9688f4d847a9ea0591486d8975d8
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52754
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
ldiskfs/kernel_patches/patches/rhel8/ext4-mballoc-dense.patch