summaryrefslogtreecommitdiff
path: root/fs/btrfs/delalloc-space.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2019-11-06 12:11:56 -0800
committerDavid Sterba <dsterba@suse.com>2022-03-14 13:13:51 +0100
commitcb36a9bb17c4abf720123dacd449408588247005 (patch)
treeb2622f293990eb6c713c13b32a7ee4ac22968182 /fs/btrfs/delalloc-space.c
parente331f6b19f8adde2307588bb325ae5de78617c20 (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 <nborisov@suse.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delalloc-space.c')
0 files changed, 0 insertions, 0 deletions