Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-19 Thread Christoph Hellwig
On Thu, Jun 18, 2020 at 11:22:58PM +0530, Kanchan Joshi wrote: > I was thinking of raw block-access to zone device rather than pristine file > abstraction. Why? > And in that context, semantics, at this point, are unchanged > (i.e. same as direct writes) while flexibility of async-interface gets

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Damien Le Moal
On 2020/06/19 2:55, Kanchan Joshi wrote: > On Wed, Jun 17, 2020 at 11:56:34PM -0700, Christoph Hellwig wrote: >> On Wed, Jun 17, 2020 at 10:53:36PM +0530, Kanchan Joshi wrote: >>> This patchset enables issuing zone-append using aio and io-uring direct-io >>> interface. >>> >>> For aio, this

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Damien Le Moal
On 2020/06/19 5:04, Matias Bjørling wrote: > On 18/06/2020 21.21, Kanchan Joshi wrote: >> On Thu, Jun 18, 2020 at 10:04:32AM +0200, 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.

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Matias Bjørling
On 18/06/2020 21.21, Kanchan Joshi wrote: On Thu, Jun 18, 2020 at 10:04:32AM +0200, 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.

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Kanchan Joshi
On Thu, Jun 18, 2020 at 10:04:32AM +0200, 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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Kanchan Joshi
On Wed, Jun 17, 2020 at 11:56:34PM -0700, Christoph Hellwig wrote: On Wed, Jun 17, 2020 at 10:53:36PM +0530, 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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Christoph Hellwig
On Thu, Jun 18, 2020 at 10:04:32AM +0200, Matias Bjørling wrote: > Please provide a pointers to applications that are updated and ready to take > advantage of zone append. That is a pretty high bar for kernel APIs that we don't otherwise apply unless seriously in doubt. > I do not believe it's

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Matias Bjørling
On 18/06/2020 10.39, Javier González wrote: On 18.06.2020 10:32, Matias Bjørling wrote: On 18/06/2020 10.27, Javier González wrote: 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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Javier González
On 18.06.2020 10:32, Matias Bjørling wrote: On 18/06/2020 10.27, Javier González wrote: 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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Matias Bjørling
On 18/06/2020 10.27, Javier González wrote: 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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Javier González
On 17.06.2020 23:56, Christoph Hellwig wrote: On Wed, Jun 17, 2020 at 10:53:36PM +0530, 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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Javier González
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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Matias Bjørling
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

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Christoph Hellwig
On Wed, Jun 17, 2020 at 10:53:36PM +0530, 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'

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-17 Thread Matthew Wilcox
On Wed, Jun 17, 2020 at 10:53:36PM +0530, 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'

[PATCH 0/3] zone-append support in aio and io-uring

2020-06-17 Thread Kanchan Joshi
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