Thread (60 messages) 60 messages, 4 authors, 2019-01-31

Re: [PATCH 03/18] block: add bio_set_polled() helper

flat view

From: Christoph Hellwig <hch@lst.de>
Date: 2019-01-28 14:26:20
Also in: linux-fsdevel

On Wed, Jan 23, 2019 at 08:35:14AM -0700, Jens Axboe wrote:
For the upcoming async polled IO, we can't sleep allocating requests.
If we do, then we introduce a deadlock where the submitter already
has async polled IO in-flight, but can't wait for them to complete
since polled requests must be active found and reaped.

Utilize the helper in the blockdev DIRECT_IO code.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help