diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-30 08:29:12 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 15:54:09 +0300 |
commit | 1fe0b1acb14dd3113b7dc975a118cd7f08af8316 (patch) | |
tree | eba2ed9c53de94888bb004718adc48baf04565fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46dc967445bde5300eee7e567a67796de2217586 (diff) | |
download | linux-1fe0b1acb14dd3113b7dc975a118cd7f08af8316.tar.xz |
loop: only freeze the queue in __loop_clr_fd when needed
->release is only called after all outstanding I/O has completed, so only
freeze the queue when clearing the backing file of a live loop device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220330052917.2566582-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions