aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2021-10-14 08:17:08 +0000
committerJens Axboe <[email protected]>2021-10-20 00:27:58 +0000
commit9e6a6b1212100148c109675e003369e3e219dbd9 (patch)
treef24a5eb087fcc4117c2049c7bb2850ed112ec241 /fs/btrfs/dev-replace.c
parentnvme: prepare for pairing quiescing and unquiescing (diff)
downloadkernel-9e6a6b1212100148c109675e003369e3e219dbd9.tar.gz
kernel-9e6a6b1212100148c109675e003369e3e219dbd9.zip
nvme: paring quiesce/unquiesce
The current blk_mq_quiesce_queue() and blk_mq_unquiesce_queue() always stops and starts the queue unconditionally. And there can be concurrent quiesce/unquiesce coming from different unrelated code paths, so unquiesce may come unexpectedly and start queue too early. Prepare for supporting concurrent quiesce/unquiesce from multiple contexts, so that we can address the above issue. NVMe has very complicated quiesce/unquiesce use pattern, add one atomic bit for makeiing sure that blk-mq quiece/unquiesce is always called in pair. Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions