Whamcloud - gitweb
LU-10026 osd-ldiskfs: use preallocation for dense writes 71/50171/48
authorAlex Zhuravlev <bzzz@whamcloud.com>
Wed, 1 Mar 2023 18:28:25 +0000 (21:28 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 4 Mar 2024 20:01:44 +0000 (20:01 +0000)
commit686dee707f8728aa8ba27bcd4cee69f8fbf7b278
tree53ff2df01b9b5e1fc94ceaa705305dfc77d544e2
parente17f166ca18146f955c211a29822af183f6f6959
LU-10026 osd-ldiskfs: use preallocation for dense writes

use inode's preallocation chunks as per-inode group preallocation:
just grab the very first available blocks from the window.

Test-Parameters: env=ONLY=1000,ONLY_REPEAT=11 testlist=sanity-compr
Test-Parameters: env=ONLY=fsx,ONLY_REPEAT=11 testlist=sanity-compr
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I9d36701f569f4c6305bc46f3373bfc054fcd61a9
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50171
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
ldiskfs/kernel_patches/patches/rhel8/ext4-mballoc-dense.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-4.18-rhel8.8.series
lustre/include/obd_support.h
lustre/osc/osc_request.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c
lustre/osd-ldiskfs/osd_lproc.c
lustre/tests/sanity-benchmark.sh
lustre/tests/sanity-compr.sh