Whamcloud - gitweb
EX-7601 ofd: add read lnb to ofd_preprw_write
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 3 Nov 2023 20:22:22 +0000 (16:22 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 2 Jan 2024 08:21:16 +0000 (08:21 +0000)
commit524b17c6ec6be3670f185f367c335ac9562f4571
treef596e74d55035096bcac5f18c057390fa640f08c
parente29e70a40639a69e5679e1ec3f63383d76878f4e
EX-7601 ofd: add read lnb to ofd_preprw_write

The read phase of read-modify-write for compressed files
needs to read only a subset of the pages which will be
written, so it needs a separate set of lnb pointers for
tracking this subset.

This patch passes around the necessary argument but does
not set up or use the lnb yet.

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I7ec7101e65e73a6c9e67cea3c58d8cace38e70e0
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52984
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>
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