]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics : allow host to create duplicate connections to target
authorNilay Shroff <nilay@linux.ibm.com>
Wed, 3 Apr 2024 13:34:16 +0000 (19:04 +0530)
committerDaniel Wagner <dwagner@suse.de>
Wed, 3 Apr 2024 13:50:53 +0000 (15:50 +0200)
commitfd8ecb054ce53acae504e54666bec6c9976a82dd
tree489a9df336af218063affc95f4d57b452e9ebb4c
parent14ee80dfe872e138dced8eb3f33aee46329eb078
fabrics : allow host to create duplicate connections to target

Apparently the nvmf connect code doesn't allow creating
duplicate connections from a host to the same target even
though user specifies option "--duplicate-connect" or "-D".
This patch help fix this issue.

Fixes: 07d6b911e081 ("fabrics: Do not attempt to reconnect to already connected ctrls")
Reported-by: Amit Engel <Amit.Engel@Dell.com>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Link: https://lore.kernel.org/r/20240403133438.161916-1-nilay@linux.ibm.com
Signed-off-by: Daniel Wagner <dwagner@suse.de>
fabrics.c