Re: [PATCH 2/2] nvme: add emulation for zone-append

From: Javier Gonzalez
Date: Tue Aug 18 2020 - 14:13:15 EST


On 18.08.2020 10:39, Keith Busch wrote:
On Tue, Aug 18, 2020 at 07:29:12PM +0200, Javier Gonzalez wrote:
On 18.08.2020 09:58, Keith Busch wrote:
> On Tue, Aug 18, 2020 at 11:50:33AM +0200, Javier Gonzalez wrote:
> > a number of customers are requiring the use of normal writes, which we
> > want to support.
>
> A device that supports append is completely usable for those customers,
> too. There's no need to create divergence in this driver.

Not really. You know as well as I do that some features are disabled for
a particular SSD model on customer requirements. Generic models
implementing append can submit both I/Os, but those that remove append
are left out.

You are only supporting my point: if your device supports append, you
get to work in every ZNS use case, otherwise you only get to work in a
subset.

There are several devices. Some of them enable append and some do not. I
would like to support the later too.