# Re: \[PATCH 1/5\] block: call submit\_bio\_checks under q\_usage\_counter

- From: Jens Axboe \<axboe@kernel.dk\>
- Date: 2021-10-17 01:14:19 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/10/6406086
- Thread: https://ratatoskr.run/linux-block/2021/09/6405723/t.md

```text
On Wed, 29 Sep 2021 09:12:37 +0200, Christoph Hellwig wrote:
> 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.
> 
> 

Applied, thanks!

[1/5] block: call submit_bio_checks under q_usage_counter
      (no commit info)
[2/5] block: factor out a blk_try_enter_queue helper
      (no commit info)
[3/5] block: split bio_queue_enter from blk_queue_enter
      (no commit info)
[4/5] block: drain file system I/O on del_gendisk
      (no commit info)
[5/5] block: keep q_usage_counter in atomic mode after del_gendisk
      (no commit info)
[6/6] kyber: avoid q->disk dereferences in trace points
      (no commit info)

Best regards,
-- 
Jens Axboe


```
