]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit448ad24ebd79542955a9eaa128c9df412c80b6f9
treec138ee6ad85529734a45f90d5e13604a04bd24c7
parentd45bf10475d72058a4ce7ce36ffdec701016dfa3
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