Omar Sandoval 7c0c7269f7 btrfs: add BTRFS_IOC_ENCODED_WRITE
The implementation resembles direct I/O: we have to flush any ordered
extents, invalidate the page cache, and do the io tree/delalloc/extent
map/ordered extent dance. From there, we can reuse the compression code
with a minor modification to distinguish the write from writeback. This
also creates inline extents when possible.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-03-14 13:13:51 +01:00
..
2021-09-02 09:21:27 -07:00
2022-03-14 13:13:51 +01:00
2022-01-07 14:18:23 +01:00
2021-06-22 14:11:57 +02:00
2022-03-14 13:13:51 +01:00
2022-03-14 13:13:51 +01:00
2022-03-14 13:13:51 +01:00
2021-06-22 14:11:57 +02:00
2022-01-07 14:18:26 +01:00
2021-11-08 16:55:21 -08:00