diff options
author | 2016-01-13 11:48:06 -0500 | |
---|---|---|
committer | 2016-02-18 11:22:24 +0100 | |
commit | dc95f7bfc57fa4b75a77d0da84d5db249d74aa3f (patch) | |
tree | 701b1ece85b20b5082e816958bc28c51c8a5d9cd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: change how we update the global block rsv (diff) | |
download | wireguard-linux-dc95f7bfc57fa4b75a77d0da84d5db249d74aa3f.tar.xz wireguard-linux-dc95f7bfc57fa4b75a77d0da84d5db249d74aa3f.zip |
Btrfs: fix truncate_space_check
truncate_space_check is using btrfs_csum_bytes_to_leaves() but forgetting to
multiply by nodesize so we get an actual byte count. We need a tracepoint here
so that we have the matching reserve for the release that will come later. Also
add a comment to make clear what the intent of truncate_space_check is.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions