Thread (41 messages) flat view 41 messages, 8 authors, 2021-01-12

Re: [PATCH v6 11/11] btrfs: implement RWF_ENCODED writes

From: Josef Bacik <josef@toxicpanda.com>
Date: 2020-12-03 14:46:32
Also in: linux-btrfs, linux-fsdevel

On 11/18/20 2:18 PM, Omar Sandoval wrote:
From: Omar Sandoval <redacted>

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.

Now that read and write are implemented, this also sets the
FMODE_ENCODED_IO flag in btrfs_file_open().

Signed-off-by: Omar Sandoval <redacted>
Fix up the spacing thing and then you can add

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help