diff options
author | Omar Sandoval <osandov@fb.com> | 2019-11-08 02:19:16 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 15:13:51 +0300 |
commit | d9496e8aba491e6c4c1c1c3549a93839ffd9b5a4 (patch) | |
tree | 6d4da497a1e24e12e5c6a507da99ba329405bf52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8dd9872d2e261196069ab03d5dc5e6ec9bc93f4b (diff) | |
download | linux-d9496e8aba491e6c4c1c1c3549a93839ffd9b5a4.tar.xz |
btrfs: optionally extend i_size in cow_file_range_inline()
Currently, an inline extent is always created after i_size is extended
from btrfs_dirty_pages(). However, for encoded writes, we only want to
update i_size after we successfully created the inline extent. Add an
update_i_size parameter to cow_file_range_inline() and
insert_inline_extent() and pass in the size of the extent rather than
determining it from i_size.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ reformat comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions