diff options
author | Omar Sandoval <[email protected]> | 2019-08-13 16:00:02 -0700 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:51 +0100 |
commit | 7c0c7269f7b508ba6e4b063a9314d6bd1fb6db22 (patch) | |
tree | 97c42d1bcd553b2ef14e5b2494b4f303585e09b1 /lib/netdev-notifier-error-inject.c | |
parent | 1881fba89bd5dcd364d2e1bf561912a90a11c21a (diff) |
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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions