[PATCH 2/5] nvmet: Fix Identify Controller handling

Christoph Hellwig hch at lst.de
Wed Mar 15 06:35:26 PDT 2023


On Wed, Mar 15, 2023 at 07:59:36PM +0900, Damien Le Moal wrote:
> The identify command with cns set to NVME_ID_CNS_CTRL does not depend on
> the command set. The execution of this command should thus not look at
> the csi specified in the command. Simplify nvmet_execute_identify() to
> directly call nvmet_execute_identify_ctrl() without the csi switch-case.

Indeed - same as the last one.



More information about the Linux-nvme mailing list