Thread (19 messages) 19 messages, 5 authors, 2021-03-15

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

From: Hannes Reinecke <hare@suse.de>
Date: 2021-03-04 08:41:07

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@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@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@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

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help