Whamcloud - gitweb
EX-7601 ofd: add obd level compression lib
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 1 Nov 2023 21:07:23 +0000 (17:07 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 24 Nov 2023 09:26:31 +0000 (09:26 +0000)
commit2033c555fd2d2e3b7bc53eb14155ba4750de242f
tree3bc5e6f83cd00686e09c64269d4a947fbca0ba27
parent1f83d14aba76851056fdcbac7c8391a748ea78a5
EX-7601 ofd: add obd level compression lib

Some compression functions will be used by several areas of
of Lustre, so they need to be in obdclass.

This moves merge_chunk and unmerge_chunk there and adds the
ability for them to merge lnbs.  This is used in a future
patch.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: If4a318119bb7685e41adb9f3b31a66074031e6ac
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52938
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre_compr.h
lustre/include/obd.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/obdclass/lustre_compr.c
lustre/ofd/Makefile.in
lustre/ofd/ofd_compress.c [new file with mode: 0644]
lustre/ofd/ofd_compress.h [new file with mode: 0644]
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_io.c
lustre/osc/osc_compress.c