> On 26 Jun 2020, at 17.52, Keith Busch <kbusch@xxxxxxxxxx> wrote: > > On Fri, Jun 26, 2020 at 08:28:28AM +0200, Javier González wrote: >>> On 26.06.2020 05:25, Keith Busch wrote: >>> On Thu, Jun 25, 2020 at 09:42:48PM +0200, Javier González wrote: >>>> We can use nvme passthru, but this bypasses the zoned block abstraction. >>>> Why not representing ZNS features in the standard zoned block API? >>> >>> This looks too nvme zns specific to want the block layer in the middle. >>> Just use the driver's passthrough interface. >> >> Ok. Is it OK with you to expose them in sysfs as Damien suggested? > > sysfs sounds fine to me for some attributes (ex: mar/mor), but I don't > think every zns property warrants exposing through this interface. I > just don't want to corner driver maintenance into chasing every spec > field. If applications really want every last detail, they can get it > directly from the device without any kernel dependencies. Ok. Think Niklas sent a patch with mar/mor already. Will check which ones we depend on in user space.