Whamcloud - gitweb
LU-10026 osd-ldiskfs: use preallocation for dense writes
authorAlex Zhuravlev <bzzz@whamcloud.com>
Tue, 27 Jun 2023 06:59:31 +0000 (09:59 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 28 Sep 2023 08:42:05 +0000 (08:42 +0000)
commitf36eda6a1e31fe8d1bc5e6d74105b0cedb952999
treecfa6f3b40a827fe32e6763576ee2dea4176f4514
parent3be9fbdb109e3c775d7007d648357302f7e8c771
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.

Lustre-change: https://review.whamcloud.com//50171
Lustre-commit: TBD (from 986340bcdfa572a1f6bab34014e0474c89f47691))

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I9d36701f569f4c6305bc46f3373bfc054fcd61a9
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51468
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>
Reviewed-by: Andreas Dilger <adilger@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_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c
lustre/osd-ldiskfs/osd_lproc.c
lustre/tests/sanity-compr.sh