Thread (26 messages) 26 messages, 2 authors, 2019-12-05

Re: [RFC PATCH v3 08/12] btrfs: add ram_bytes and offset to btrfs_ordered_extent

flat view

From: Nikolay Borisov <hidden>
Date: 2019-11-27 10:13:39
Also in: linux-btrfs, linux-fsdevel


On 20.11.19 г. 20:24 ч., Omar Sandoval wrote:
From: Omar Sandoval <redacted>

Currently, we only create ordered extents when ram_bytes == num_bytes
and offset == 0. However, RWF_ENCODED writes may create extents which
only refer to a subset of the full unencoded extent, so we need to plumb
these fields through the ordered extent infrastructure and pass them
down to insert_reserved_file_extent().

Since we're changing the btrfs_add_ordered_extent* signature, let's get
rid of the trivial wrappers and add a kernel-doc.

Signed-off-by: Omar Sandoval <redacted>
Reviewed-by: Nikolay Borisov <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help