Whamcloud - gitweb
EX-7601 ofd: switch preprw to chunk_bits
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 3 Nov 2023 16:33:20 +0000 (12:33 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 29 Dec 2023 11:02:32 +0000 (11:02 +0000)
commit3c8761178d2024887251bc3707d160e924f8baf2
tree2a26833e99e18a78ba83834815642b85acfd3043
parent9be0e43fcb4d286931a8cda824847070edc802f2
EX-7601 ofd: switch preprw to chunk_bits

The compression/decompression code requires chunk_bits
rather than chunk size.  Since we need to call this code
from ofd_preprw_write, we need chunk_bits there.

This modifies the functions so chunk_bits is available
there.

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