Thread (17 messages) 17 messages, 3 authors, 2018-11-20

Re: [PATCH 3/5] aio: add iocb->ki_blk_qc field

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-11-19 13:21:40
Also in: linux-fsdevel

On 11/18/18 6:59 PM, Dave Chinner wrote:
On Sat, Nov 17, 2018 at 04:53:15PM -0700, Jens Axboe wrote:
quoted
Add the field and have the blockdev direct_IO() helpers set it.
This is in preparation for being able to poll for iocb completion.
What purpose does this field serve?
It's for later lookup to find the queue to poll on.
And why add it to just blockdev direct_IO and not the other direct
IO paths, too?
Only block devices support polling.

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