mirror of
https://github.com/ipxe/ipxe
synced 2026-01-26 09:23:49 +03:00
[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 <mcb30@ipxe.org>
This commit is contained in:
@@ -30,7 +30,8 @@ extern void set_autoboot_busloc ( unsigned int bus_type,
|
||||
unsigned int location );
|
||||
extern void set_autoboot_ll_addr ( const void *ll_addr, size_t len );
|
||||
|
||||
extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
|
||||
extern int uriboot ( struct uri *filename, struct uri **root_paths,
|
||||
unsigned int root_path_count, int drive,
|
||||
unsigned int flags );
|
||||
extern struct uri *
|
||||
fetch_next_server_and_filename ( struct settings *settings );
|
||||
|
||||
Reference in New Issue
Block a user