Re: io_uring engine -- sqthread_poll option can't work as implemented

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

 



On 9/3/19 5:49 AM, Jeff Moyer wrote:
> Jens Axboe <axboe@xxxxxxxxx> writes:
> 
>> On 8/29/19 10:38 AM, Jeff Moyer wrote:
>>> Hi,
>>>
>>> sqthread_poll requires registered files in order to work.  That's not
>>> implemented in fio, and I don't see how one would go about it (but I'm
>>> not all that familiar with fio's architecture).  We basically need all
>>> files to be opened before we can register them.  It looks to me as
>>> though the files are opened on demand, after the io engine is
>>> initialized.
>>>
>>> Any suggestions?
>>
>> Leftover from previously, when that requirement wasn't there... Using
>> it from fio would require a little bit of footwork, but it's not
>> impossible.
> 
> OK, if you can point me in the right direction, I'll take a stab at it.

I think if we impose the restriction that the total number of files used
must fit in a registered file set, it isn't too hard. Just have the
engine open the files when it starts, and provide a new ->open_file()
(and ->close_file()) in the engine ops.

I'll take a stab at it.

-- 
Jens Axboe




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux