From ef92307fd49e75482c7599caf68685afc1807512 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Fri, 6 Nov 2020 12:44:43 +0100 Subject: [KERNEL, CLIENT]: submit and probe multiple dnbd3-server with ioctl OPEN The ioctl OPEN call for DNBD3 devices exposed by the dnbd3 Linux kernel module, is extended with a fixed array of dnbd3 hosts. The fixed array allows the dnbd3-client to submit host information (IP address and port) of multiple dnbd3-servers. This information is used to probe all submitted dnbd3-servers and add them to the alternative dnbd3-server list. If at least one dnbd3-server is not reachable, the OPEN ioctl call will abort with an error code. --- src/kernel/dnbd3_main.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/kernel/dnbd3_main.h') diff --git a/src/kernel/dnbd3_main.h b/src/kernel/dnbd3_main.h index 124426b..8be77de 100644 --- a/src/kernel/dnbd3_main.h +++ b/src/kernel/dnbd3_main.h @@ -76,7 +76,6 @@ typedef struct struct task_struct *thread_discover; struct timer_list hb_timer; wait_queue_head_t process_queue_send; - wait_queue_head_t process_queue_receive; wait_queue_head_t process_queue_discover; struct list_head request_queue_send; struct list_head request_queue_receive; -- cgit v1.2.3-55-g7522