commit | aec89dc5d421200b353d99a2bfff9e0967f67037 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <[email protected]> | Wed Sep 29 09:12:41 2021 +0200 |
committer | Jens Axboe <[email protected]> | Fri Oct 15 21:02:54 2021 -0600 |
tree | cfecaf05ddb52c19550291145e7b7bb087744ffd | |
parent | 8e141f9eb803e209714a80aa6ec073893f94c526 [diff] |
block: keep q_usage_counter in atomic mode after del_gendisk Don't switch back to percpu mode to avoid the double RCU grace period when tearing down SCSI devices. After removing the disk only passthrough commands can be send anyway. Suggested-by: Ming Lei <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: Darrick J. Wong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Yi Zhang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>