Re: [PATCH 0/2] Make nvmet_init_cap dependent on passthru controller
From: Keith Busch
Date: Thu Aug 26 2021 - 17:50:11 EST
On Thu, Aug 26, 2021 at 09:15:45PM +0000, Adam Manzanares wrote:
> nvme_init_cap unconditionally sets support for one or more command sets. When
> using a passthru controller this may cause a conventional namespace to be
> ignored when checking the namespace identification descriptors which must
> include the command set identifier when the cap is set to support one or more
> command sets. Since the namespace identification descriptors come from the
> passthru controller they may not include the command set identifier causing the
> namespace to be ignored.
>
> Adam Manzanares (2):
> nvme: move nvme_multi_css into nvme.h
> nvmet: use passthru cntrl in nvmet_init_cap
Looks good to me.
Reviewed-by: Keith Busch <kbusch@xxxxxxxxxx>