diff options
author | 2019-11-06 12:11:56 -0800 | |
---|---|---|
committer | 2022-03-14 13:13:51 +0100 | |
commit | cb36a9bb17c4abf720123dacd449408588247005 (patch) | |
tree | b2622f293990eb6c713c13b32a7ee4ac22968182 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: don't advance offset for compressed bios in btrfs_csum_one_bio() (diff) | |
download | wireguard-linux-cb36a9bb17c4abf720123dacd449408588247005.tar.xz wireguard-linux-cb36a9bb17c4abf720123dacd449408588247005.zip |
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 '')
0 files changed, 0 insertions, 0 deletions