aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-03-30 07:29:14 +0200
committerJens Axboe <[email protected]>2022-04-18 06:54:09 -0600
commit498ef5c777d9c89693b70cc453b40c392120ea1b (patch)
tree55dbf452df24fc47b92d19ac21651af9ca29fc8a /tools/perf/scripts/python/stat-cpi.py
parentd2c7f56f8b5256d57f9e3fc7794c31361d43bdd9 (diff)
loop: suppress uevents while reconfiguring the device
Currently, udev change event is generated for a loop device before the device is ready for IO. Due to serialization on lo->lo_mutex in lo_open() this does not matter because anybody is able to open the device and do IO only after the configuration is finished. However this synchronization in lo_open() is going away so make sure userspace reacting to the change event will see the new device state by generating the event only when the device is setup. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions