diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-29 09:12:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-15 21:02:50 -0600 |
commit | 8e141f9eb803e209714a80aa6ec073893f94c526 (patch) | |
tree | db504c9742b636b6460583e08f75ccbb95e1dfb4 /net/ipv4/tcp_htcp.c | |
parent | a6741536f44ae65491cfde6870ae518aabe1ca36 (diff) | |
download | linux-8e141f9eb803e209714a80aa6ec073893f94c526.tar.bz2 |
block: drain file system I/O on del_gendisk
Instead of delaying draining of file system I/O related items like the
blk-qos queues, the integrity read workqueue and timeouts only when the
request_queue is removed, do that when del_gendisk is called. This is
important for SCSI where the upper level drivers that control the gendisk
are separate entities, and the disk can be freed much earlier than the
request_queue, or can even be unbound without tearing down the queue.
Fixes: edb0872f44ec ("block: move the bdi from the request_queue to the gendisk")
Reported-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20210929071241.934472-5-hch@lst.de
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
0 files changed, 0 insertions, 0 deletions