aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2019-05-14 13:54:39 +0300
committerDavid Sterba <[email protected]>2019-07-01 13:34:54 +0200
commitb0d9e1ea17fdd3c1a13e2f9dffe7d808d6c9641a (patch)
tree0eea4c256f5920d4f112c2a3d391662cfffa956e /tools/perf/scripts/python/export-to-sqlite.py
parentddb93784692fd41d7f1e74cf8b441428b7e57a64 (diff)
btrfs: Reduce critical section in btrfs_init_dev_replace_tgtdev
There is no point in holding btrfs_fs_devices::device_list_mutex while initialising fields of the not-yet-published device. Instead, hold the mutex only when the newly initialised device is being published. I think holding device_list_mutex here is redundant altogether, because at this point BTRFS_FS_EXCL_OP is set which prevents device removal/addition/balance/resize to occur. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions