diff options
| author | Nikolay Borisov <[email protected]> | 2020-06-17 12:10:43 +0300 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-07-27 12:55:27 +0200 |
| commit | 214e61d07e1ab9e497c081d1bad78d05f7c33abf (patch) | |
| tree | 60ce7dc7340c1bab1da90bcce4489a4d861d5101 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c171edd5c8e164bbcb46c61016ef4e88c8130edf (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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions