Whamcloud - gitweb
EX-7601 ofd: add chunk rounding to read
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 27 Oct 2023 20:24:33 +0000 (16:24 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 12 Dec 2023 04:02:22 +0000 (04:02 +0000)
commitae70a5b42dc4efae871fc7da568c34b26e4fa7a5
tree99b5ea225e792e40c24f5b3b61b8f87c043a4783
parent39c1cc0181b0df5ab3a35456e3861bb3e601f66a
EX-7601 ofd: add chunk rounding to read

We need to round all niobufs to chunk size in the read
process, so we read in the full chunk.

dt_bufs_get sets up the local niobuf for the read, so we
round before calling it.

This patch is a partial implementation of unaligned read
support, and breaks compression testing until the next few
patches are landed.  So this patch temporarily adds the
compression tests to ALWAYS_EXCEPT.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I587a519db4dae983db5db1d690e63e15bc010b7e
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52867
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/obd.h
lustre/obdclass/lustre_compr.c
lustre/ofd/ofd_io.c
lustre/target/tgt_handler.c
lustre/tests/sanity-compr.sh
lustre/tests/sanity-pfl.sh
lustre/tests/sanity.sh