aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2020-06-17 12:10:43 +0300
committerDavid Sterba <[email protected]>2020-07-27 12:55:27 +0200
commit214e61d07e1ab9e497c081d1bad78d05f7c33abf (patch)
tree60ce7dc7340c1bab1da90bcce4489a4d861d5101 /tools/perf/scripts/python
parentc171edd5c8e164bbcb46c61016ef4e88c8130edf (diff)
btrfs: perform data management operations outside of inode lock
btrfs_alloc_data_chunk_ondemand and btrfs_free_reserved_data_space_noquota don't really use the guts of the inodes being passed to them. This implies it's not required to call them under extent lock. Move code around in prealloc_file_extent_cluster to do the heavy, data alloc/free operations outside of the lock. This also makes the 'out' label unnecessary, so remove it. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions