[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200618082740.i4sfoi54aed6sxnk@mpHalley.local>
Date: Thu, 18 Jun 2020 10:27:40 +0200
From: "Javier González" <javier@...igon.com>
To: Matias Bjørling <mb@...htnvm.io>
Cc: Kanchan Joshi <joshi.k@...sung.com>, axboe@...nel.dk,
viro@...iv.linux.org.uk, bcrl@...ck.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-aio@...ck.org, io-uring@...r.kernel.org,
linux-block@...r.kernel.org, selvakuma.s1@...sung.com,
nj.shetty@...sung.com, Damien Le Moal <Damien.LeMoal@....com>,
Keith Busch <keith.busch@....com>,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH 0/3] zone-append support in aio and io-uring
On 18.06.2020 10:04, Matias Bjørling wrote:
>On 17/06/2020 19.23, Kanchan Joshi wrote:
>>This patchset enables issuing zone-append using aio and io-uring direct-io interface.
>>
>>For aio, this introduces opcode IOCB_CMD_ZONE_APPEND. Application uses start LBA
>>of the zone to issue append. On completion 'res2' field is used to return
>>zone-relative offset.
>>
>>For io-uring, this introduces three opcodes: IORING_OP_ZONE_APPEND/APPENDV/APPENDV_FIXED.
>>Since io_uring does not have aio-like res2, cqe->flags are repurposed to return zone-relative offset
>
>Please provide a pointers to applications that are updated and ready
>to take advantage of zone append.
Good point. We are posting a RFC with fio support for append. We wanted
to start the conversation here before.
We can post a fork for improve the reviews in V2.
>
>I do not believe it's beneficial at this point to change the libaio
>API, applications that would want to use this API, should anyway
>switch to use io_uring.
I can see why you say this, but isn't it too restrictive to directly
drop libaio support? We can split the patches and merge uring first- no
proble,.
>
>Please also note that applications and libraries that want to take
>advantage of zone append, can already use the zonefs file-system, as
>it will use the zone append command when applicable.
Sure. There are different paths available already, which is great. We
have use cases for uring and would like to enable them too.
Thanks,
Javier
Powered by blists - more mailing lists