Thread (22 messages) 22 messages, 5 authors, 2018-05-23

Re: [PATCH v13] blk-mq: Rework blk-mq timeout handling again

From: Christoph Hellwig <hch@lst.de>
Date: 2018-05-22 21:02:08

On Tue, May 22, 2018 at 02:29:21PM -0600, Jens Axboe wrote:
quoted
of BLK_EH_HANDLED. Is the driver supposed to return BLK_EH_NOT_HANDLED
when the driver actually knows the request has been completed before
returning the status?
If the driver knows it's completed, it'd have to return BLK_EH_NOT_HANDLED.
Or BLK_EH_HANDLED would work too, since the above state transition would
then fail.
Btw, I think we should just kill off BLK_EH_HANDLED.  WIP totally
untested progress toward that is here:

http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/blk-eh-ret

The only real missing bit is SCSI overloading the value for internal
use.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help