Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-26

Re: [PATCH v2] block: schedule queue restart after BLK_STS_ZONE_RESOURCE

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-10-26 22:01:00
Also in: lkml

On Wed, 27 Oct 2021 01:51:27 +0900, Naohiro Aota wrote:
When dispatching a zone append write request to a SCSI zoned block device,
if the target zone of the request is already locked, the device driver will
return BLK_STS_ZONE_RESOURCE and the request will be pushed back to the
hctx dipatch queue. The queue will be marked as RESTART in
dd_finish_request() and restarted in __blk_mq_free_request(). However, this
restart applies to the hctx of the completed request. If the requeued
request is on a different hctx, dispatch will no be retried until another
request is submitted or the next periodic queue run triggers, leading to up
to 30 seconds latency for the requeued request.

[...]
Applied, thanks!

[1/1] block: schedule queue restart after BLK_STS_ZONE_RESOURCE
      commit: 9586e67b911c95ba158fcc247b230e9c2d718623

Best regards,
-- 
Jens Axboe

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help