Re: [dm-devel] [PATCH v2 10/11] dm: introduce zone append emulation

2021-05-20 Thread Damien Le Moal
On 2021/05/20 15:47, Hannes Reinecke wrote: > On 5/20/21 8:25 AM, Damien Le Moal wrote: >> On 2021/05/20 15:10, Hannes Reinecke wrote: >> [...] +/* + * First phase of BIO mapping for targets with zone append emulation: + * check all BIO that change a zone writer pointer and change

Re: [dm-devel] [PATCH v2 10/11] dm: introduce zone append emulation

2021-05-20 Thread Hannes Reinecke
On 5/20/21 8:25 AM, Damien Le Moal wrote: On 2021/05/20 15:10, Hannes Reinecke wrote: [...] +/* + * First phase of BIO mapping for targets with zone append emulation: + * check all BIO that change a zone writer pointer and change zone + * append operations into regular write operations. + */

Re: [dm-devel] [PATCH v2 10/11] dm: introduce zone append emulation

2021-05-20 Thread Damien Le Moal
On 2021/05/20 15:10, Hannes Reinecke wrote: [...] >> +/* >> + * First phase of BIO mapping for targets with zone append emulation: >> + * check all BIO that change a zone writer pointer and change zone >> + * append operations into regular write operations. >> + */ >> +static bool

Re: [dm-devel] [PATCH v2 10/11] dm: introduce zone append emulation

2021-05-20 Thread Hannes Reinecke
On 5/20/21 6:22 AM, Damien Le Moal wrote: For zoned targets that cannot support zone append operations, implement an emulation using regular write operations. If the original BIO submitted by the user is a zone append operation, change its clone into a regular write operation directed at the