diff options
author | 2017-05-11 09:17:46 +0300 | |
---|---|---|
committer | 2017-06-19 18:25:58 +0200 | |
commit | a5ed45f8224f2c7e4ad5a9673cb50e8e3128bd88 (patch) | |
tree | 0fe59f8adb887bfab495948f2d7278c16daea491 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | btrfs: add framework to handle device flush error as a volume (diff) | |
download | linux-dev-a5ed45f8224f2c7e4ad5a9673cb50e8e3128bd88.tar.xz linux-dev-a5ed45f8224f2c7e4ad5a9673cb50e8e3128bd88.zip |
btrfs: Convert fs_info->free_chunk_space to atomic64_t
The ->free_chunk_space variable is used to track the unallocated space
and access to it is protected by a spinlock, which is not used for
anything else. Make the code a bit self-explanatory by switching the
variable to an atomic64_t type and kill the spinlock.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
[ not a performance critical code, use of atomic type is ok ]
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