]> 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)
commitab6c52b5152ac7c2cbc3c62c9ea874cc155cc779
treec138ee6ad85529734a45f90d5e13604a04bd24c7
parent78d9e27196b9e5c6ff3fbb0310c1afe7704ba29c
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