From bb5a54b79a414082d0b39d478a8b3332c56d68e5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 26 Mar 2017 15:12:11 +0300 Subject: [block] Add basic multipath support Add basic support for multipath block devices. The "sanboot" and "sanhook" commands now accept a list of SAN URIs. We open all URIs concurrently. The first connection to become available for issuing block device commands is marked as the active path and used for all subsequent commands; all other connections are then closed. Whenever the active path fails, we reopen all URIs and repeat the process. Signed-off-by: Michael Brown --- src/usr/pxemenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/pxemenu.c') diff --git a/src/usr/pxemenu.c b/src/usr/pxemenu.c index 2d05d3f51..391d698a9 100644 --- a/src/usr/pxemenu.c +++ b/src/usr/pxemenu.c @@ -378,7 +378,7 @@ int pxe_menu_boot ( struct net_device *netdev ) { return -ENOMEM; /* Attempt boot */ - rc = uriboot ( uri, NULL, 0, URIBOOT_NO_SAN ); + rc = uriboot ( uri, NULL, 0, 0, URIBOOT_NO_SAN ); uri_put ( uri ); return rc; } -- cgit v1.2.3-55-g7522