Whamcloud - gitweb
EX-7601 ofd: add chunk_size to preprw_read
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 27 Oct 2023 19:29:24 +0000 (15:29 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 30 Nov 2023 17:16:26 +0000 (17:16 +0000)
commit28e9fbedf0175441ae57a2351f11bad6d33cd00f
tree1a9b11e298ae10f284325c0dcceb2252a8c59c64
parent7f43f9869c80f7d9b81498ddd05979f36c5bb085
EX-7601 ofd: add chunk_size to preprw_read

preprw_read needs chunk size for rounding.  Add this in a
separate patch to keep things trivial, it will be used in
a subsequent patch.

Also use this to add a check in DOM to ensure it doesn't
attempt to do compression.  This should already be
prevented by setstripe, so this is just an extra safety
check.

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I9dc4d1559e5c8be315268a593466571b54c90a96
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52866
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/include/obd_class.h
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_io.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_io.c
lustre/target/tgt_handler.c