Thread (20 messages) flat view 20 messages, 6 authors, 2017-06-17

Re: [PATCH 07/10] block: return on congested block device

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-06-15 16:43:00
Also in: linux-block, linux-fsdevel

On 06/15/2017 09:59 AM, Goldwyn Rodrigues wrote:
From: Goldwyn Rodrigues <redacted>

A new bio operation flag REQ_NOWAIT is introduced to identify bio's
orignating from iocb with IOCB_NOWAIT. This flag indicates
to return immediately if a request cannot be made instead
of retrying.

Stacked devices such as md (the ones with make_request_fn hooks)
currently are not supported because it may block for housekeeping.
For example, an md can have a part of the device suspended.
For this reason, only request based devices are supported.
In the future, this feature will be expanded to stacked devices
by teaching them how to handle the REQ_NOWAIT flags.
Looks fine to me now. I don't know what tree will take these patches,
but if it's not block, then you can add:

Reviewed-by: Jens Axboe <axboe@kernel.dk>

-- 
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