[PATCH 1/3] nvme-fabrics: only reserve a single tag

Hannes Reinecke hare at suse.de
Thu Mar 4 07:02:20 GMT 2021


On 3/3/21 1:53 PM, Christoph Hellwig wrote:
> Fabrics drivers currently reserve two tags on the admin queue.  But
> given that the connect command is only run on a freshly created queue
> or after all commands have been force aborted we only need to reserve
> a single tag.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>   drivers/nvme/host/fabrics.h | 7 +++++++
>   drivers/nvme/host/fc.c      | 4 ++--
>   drivers/nvme/host/rdma.c    | 4 ++--
>   drivers/nvme/host/tcp.c     | 4 ++--
>   drivers/nvme/target/loop.c  | 4 ++--
>   5 files changed, 15 insertions(+), 8 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



More information about the Linux-nvme mailing list