Christoph Hellwig cc9c884dd7 block: call submit_bio_checks under q_usage_counter
Ensure all bios check the current values of the queue under freeze
protection, i.e. to make sure the zero capacity set by del_gendisk
is actually seen before dispatching to the driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210929071241.934472-2-hch@lst.de
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-15 21:02:36 -06:00
..
2021-08-30 18:52:11 -07:00
2021-08-18 07:21:12 -06:00
2021-08-17 20:17:34 -06:00
2021-08-30 18:52:11 -07:00
2021-08-30 18:52:11 -07:00
2021-06-17 15:51:20 +02:00
2021-08-30 19:30:30 -07:00
2020-03-17 20:55:21 +01:00
2021-09-11 10:19:51 -07:00
2021-09-02 15:09:46 -07:00
2021-09-11 10:19:51 -07:00