[PATCH RFC v2] nvme: basic RMEDIA support for host

Damien Le Moal dlemoal at kernel.org
Thu Jul 25 15:59:25 PDT 2024


On 7/25/24 23:10, Christoph Hellwig wrote:
> On Thu, Jul 25, 2024 at 09:43:45AM +0900, Damien Le Moal wrote:
>> Why not do that now in another patch, at least for the loop target ?
>> Given that they are not that many NVMe-HDD out there, that would be
>> nice to have to test this.
> 
> The code would be in the bdev backend, so it applies to all transport
> equally.  And yes, I'd love to see a patch for that to, but I don't
> want to gate a simple flag check on it.

OK. Will look into it then. I have the setup to test this anyway.

That said, while setting only the rotational media bit should be fairly easy, I
am worried about spec compliance as setting that flag to 1 mandates support for
endurance groups as well. Do we care about this ? I am tempted to say no but not
following the specs is generally a dangerous path we do not want to follow...

-- 
Damien Le Moal
Western Digital Research




More information about the Linux-nvme mailing list