Thread (23 messages) 23 messages, 3 authors, 2018-01-24

Re: [PATCH 3/5] dm-rq: return BLK_STS_* from map_request()

From: Ming Lei <hidden>
Date: 2018-01-22 05:35:45
Also in: dm-devel

On Mon, Jan 22, 2018 at 11:35:48AM +0800, Ming Lei wrote:
Except for DM_MAPIO_REQUEUE, map_request() handles other dispatch exception
already, so return BLK_STS_* from map_request() directly.

Another change is that if dm_dispatch_clone_request() returns
BLK_STS_DEV_RESOURCE from underlying queue, this status is returned
to blk-mq too, since underlying queue's RESTART can handle dm-rq's
RESTART in this case.
Hammm, this is obvious wrong, :-(

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