diff options
author | Omar Sandoval <[email protected]> | 2019-11-06 12:11:56 -0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:51 +0100 |
commit | cb36a9bb17c4abf720123dacd449408588247005 (patch) | |
tree | b2622f293990eb6c713c13b32a7ee4ac22968182 /lib/test-string_helpers.c | |
parent | e331f6b19f8adde2307588bb325ae5de78617c20 (diff) |
btrfs: add ram_bytes and offset to btrfs_ordered_extent
Currently, we only create ordered extents when ram_bytes == num_bytes
and offset == 0. However, BTRFS_IOC_ENCODED_WRITE 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.
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions