Whamcloud - gitweb
EX-8498 osd: const create in osd_ldiskfs_map_inode_pages()
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 30 Oct 2023 08:08:57 +0000 (11:08 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 7 Dec 2023 11:11:15 +0000 (11:11 +0000)
commitfa90434c14d6c3d3c471f3ff87edf16fdf9adbfb
tree4527b26115acc12c2038c3569cd6f18cfb3efc99
parent3b2bda581a2994dfaf5343da455416203531d67f
EX-8498 osd: const create in osd_ldiskfs_map_inode_pages()

create flag is used to skip reads of unwritten blocks so don't
use/modify it to enable dense writes.

Fixes: f36eda6a1e ("LU-10026 osd-ldiskfs: use preallocation for dense writes")
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I63a08ae2b8ed30d8a8ef4c5570f05d300a2b430b
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52887
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/obd_support.h
lustre/osd-ldiskfs/osd_io.c
lustre/tests/sanity-benchmark.sh
lustre/tests/sanity-compr.sh