OSDN Git Service

btrfs: add definitions and documentation for encoded I/O ioctls
authorOmar Sandoval <osandov@fb.com>
Mon, 16 Aug 2021 22:58:29 +0000 (15:58 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:51 +0000 (13:13 +0100)
commitdcb77a9ae87dc1ae2c54ea2e629da357e694b664
treec138ee6ad85529734a45f90d5e13604a04bd24c7
parentd9496e8aba491e6c4c1c1c3549a93839ffd9b5a4
btrfs: add definitions and documentation for encoded I/O ioctls

In order to allow sending and receiving compressed data without
decompressing it, we need an interface to write pre-compressed data
directly to the filesystem and the matching interface to read compressed
data without decompressing it. This adds the definitions for ioctls to
do that and detailed explanations of how to use them.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/uapi/linux/btrfs.h