HomeFreeBSD

compress: change zio_compress API to use ABDs

Description

compress: change zio_compress API to use ABDs

This commit changes the frontend zio_compress_data and
zio_decompress_data APIs to take ABD points instead of buffer pointers.

All callers are updated to match. Any that already have an appropriate
ABD nearby now use it directly, while at the rest we create an one.

Internally, the ABDs are passed through to the provider directly.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>

Details

Provenance
rob.norris_klarasystems.comAuthored on Jul 4 2024, 4:48 AM
Tony Hutter <hutter2@llnl.gov>Committed on Aug 22 2024, 11:22 PM
Parents
rGd3c12383c95c: compress: change compression providers API to use ABDs
Branches
Unknown
Tags
Unknown