Re: [PATCH 4/7] nonblocking aio: return on congested block device

2017-02-15 Thread Goldwyn Rodrigues
On 02/13/2017 09:55 PM, Ming Lei wrote: > On Tue, Feb 14, 2017 at 10:46 AM, Goldwyn Rodrigues wrote: >> From: Goldwyn Rodrigues >> >> A new flag BIO_NONBLOCKING is introduced to identify bio's >> orignating from iocb with IOCB_NONBLOCKING. struct request >>

Re: [PATCH 4/7] nonblocking aio: return on congested block device

2017-02-13 Thread Ming Lei
On Tue, Feb 14, 2017 at 10:46 AM, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > A new flag BIO_NONBLOCKING is introduced to identify bio's > orignating from iocb with IOCB_NONBLOCKING. struct request > are requested using BLK_MQ_REQ_NOWAIT if

[PATCH 4/7] nonblocking aio: return on congested block device

2017-02-13 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues A new flag BIO_NONBLOCKING is introduced to identify bio's orignating from iocb with IOCB_NONBLOCKING. struct request are requested using BLK_MQ_REQ_NOWAIT if BIO_NONBLOCKING is set. Signed-off-by: Goldwyn Rodrigues ---