diff options
| author | Josef Bacik <[email protected]> | 2020-08-20 11:18:27 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 12:12:13 +0200 |
| commit | 62cf5391209ac7b258a82316c4d703342863fd37 (patch) | |
| tree | 6bd938e94017d31c9d00f92ca839668103b6e826 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 68abf360160ca085bb5109d35692ea0f9581f8d1 (diff) | |
btrfs: move btrfs_rm_dev_replace_free_srcdev outside of all locks
When closing and freeing the source device we could end up doing our
final blkdev_put() on the bdev, which will grab the bd_mutex. As such
we want to be holding as few locks as possible, so move this call
outside of the dev_replace->lock_finishing_cancel_unmount lock. Since
we're modifying the fs_devices we need to make sure we're holding the
uuid_mutex here, so take that as well.
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions