]> www.infradead.org Git - users/sagi/libnvme.git/commit
fabrics: retry discovery log page when DNR is not set
authorHannes Reinecke <hare@suse.de>
Thu, 4 Apr 2024 07:35:13 +0000 (09:35 +0200)
committerDaniel Wagner <wagi@monom.org>
Tue, 9 Apr 2024 12:47:59 +0000 (14:47 +0200)
commit2f27d849889c9a452dbe49fda31e53149b7e3f83
treec39bcba86298a7f43475f95cf8bd62cd19a822d8
parent3089da58d2c35b3b700c1eb88540f96cfe0e87ad
fabrics: retry discovery log page when DNR is not set

Reading the discovery log page might result in an NVMe status,
so we should evaluate the DNR bit to check if it's safe to retry
the command.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/fabrics.c