aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-06-17 12:10:43 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 12:55:27 +0200
commit214e61d07e1ab9e497c081d1bad78d05f7c33abf (patch)
tree60ce7dc7340c1bab1da90bcce4489a4d861d5101 /tools/perf/scripts/python/event_analyzing_sample.py
parentbtrfs: remove hole check in prealloc_file_extent_cluster (diff)
downloadlinux-214e61d07e1ab9e497c081d1bad78d05f7c33abf.tar.gz
linux-214e61d07e1ab9e497c081d1bad78d05f7c33abf.zip
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 <johannes.thumshirn@wdc.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions