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, 28 Feb 2022 15:20:03 +0000 (16:20 +0100)
commit1e5d1fa972e2cb0dbfcf21ab5b0454a7daf47abe
treef94d97749daf852aa575d2bb8c044f69a5df9d9f
parent44eedea9e2e3cafe97fb75cfdffba10356b8600f
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