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>
Tue, 15 Feb 2022 15:54:50 +0000 (16:54 +0100)
commit6032db9d6ec81c5dcadd96d1363179f30b5069b9
treefe8671cffea5474b14e34938393de75f86373cf0
parentbee2f2a09ccd0964c1484d5875191460ec448c3d
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