Whamcloud - gitweb
EX-7601 ofd: add ofd_decompress_read implementation
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 27 Oct 2023 20:50:30 +0000 (16:50 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 12 Dec 2023 04:04:06 +0000 (04:04 +0000)
commit9584b72d4316afc91b6d6cc4224f6f4b1eb929f7
treebc25c000dec0e5a1ada616c0da99c24019331d68
parent972e4333e4c1ca78b609a77fe9f9ade2db9f72af
EX-7601 ofd: add ofd_decompress_read implementation

ofd_decompress_read is responsible for walking the
remote niobufs (rnbs) in the RPC and identifying if they
are chunk unaligned.  It then passes them on to the rnb
decompression code (not implemented yet, see next patch).

It also allocates the bounce buffers for decompression so
they can be reused for each remote niobuf.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I1f2f86ce3fc036ac5d79b060a5e44f6564e123aa
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52868
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/ofd/ofd_internal.h
lustre/ofd/ofd_io.c
lustre/ofd/ofd_obd.c
lustre/target/tgt_handler.c