[PATCH 5/5] nvmet: Cleanup nvmet_execute_identify()

Christoph Hellwig hch at lst.de
Wed Mar 15 06:38:57 PDT 2023


On Wed, Mar 15, 2023 at 07:59:39PM +0900, Damien Le Moal wrote:
> Change the order of the cases in nvmet_execute_identify() main
> switch-case to match the NVMe 2.0 specification order as defined in
> table 273. This is also the increasing order of CNS values.
> 
> While at it, for clarity, make it explicit that identify with cns set
> to NVME_ID_CNS_CS_NS does not support NVM command set specific data.

Looks sensible to me, thanks.



More information about the Linux-nvme mailing list