Re: [PATCH] block: introduce zone append write for zoned devices

2022-09-11 Thread Sam Li
Damien Le Moal 于2022年9月11日周日 16:36写道: > > On 2022/09/11 17:00, Sam Li wrote: > [...] > >>> @@ -1604,6 +1629,12 @@ static ssize_t > >>> handle_aiocb_rw_linear(RawPosixAIOData *aiocb, char *buf) > >>> (const char *)buf + offset, > >>> aiocb->aio_n

Re: [PATCH] block: introduce zone append write for zoned devices

2022-09-11 Thread Damien Le Moal
On 2022/09/11 17:00, Sam Li wrote: [...] >>> @@ -1604,6 +1629,12 @@ static ssize_t >>> handle_aiocb_rw_linear(RawPosixAIOData *aiocb, char *buf) >>> (const char *)buf + offset, >>> aiocb->aio_nbytes - offset, >>> aiocb->

Re: [PATCH] block: introduce zone append write for zoned devices

2022-09-11 Thread Sam Li
Sam Li 于2022年9月11日周日 16:00写道: > > Damien Le Moal 于2022年9月11日周日 14:06写道: > > > > On 2022/09/10 15:38, Sam Li wrote: > > > A zone append command is a write operation that specifies the first > > > logical block of a zone as the write position. When writing to a zoned > > > block device using zone a

Re: [PATCH] block: introduce zone append write for zoned devices

2022-09-11 Thread Sam Li
Damien Le Moal 于2022年9月11日周日 14:06写道: > > On 2022/09/10 15:38, Sam Li wrote: > > A zone append command is a write operation that specifies the first > > logical block of a zone as the write position. When writing to a zoned > > block device using zone append, the byte offset of the write is pointi

Re: [PATCH] block: introduce zone append write for zoned devices

2022-09-10 Thread Damien Le Moal
On 2022/09/11 15:06, Damien Le Moal wrote: > On 2022/09/10 15:38, Sam Li wrote: >> A zone append command is a write operation that specifies the first >> logical block of a zone as the write position. When writing to a zoned >> block device using zone append, the byte offset of the write is pointin

Re: [PATCH] block: introduce zone append write for zoned devices

2022-09-10 Thread Damien Le Moal
On 2022/09/10 15:38, Sam Li wrote: > A zone append command is a write operation that specifies the first > logical block of a zone as the write position. When writing to a zoned > block device using zone append, the byte offset of the write is pointing > to the write pointer of that zone. Upon comp

[PATCH] block: introduce zone append write for zoned devices

2022-09-09 Thread Sam Li
A zone append command is a write operation that specifies the first logical block of a zone as the write position. When writing to a zoned block device using zone append, the byte offset of the write is pointing to the write pointer of that zone. Upon completion the device will respond with the pos