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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/18/18 6:59 PM, Dave Chinner wrote:
> On Sat, Nov 17, 2018 at 04:53:15PM -0700, Jens Axboe wrote:
>> 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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux