summaryrefslogtreecommitdiffstats
path: root/src/kernel/dnbd3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/dnbd3.h')
-rw-r--r--src/kernel/dnbd3.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/kernel/dnbd3.h b/src/kernel/dnbd3.h
index 848acdd..437edec 100644
--- a/src/kernel/dnbd3.h
+++ b/src/kernel/dnbd3.h
@@ -76,7 +76,6 @@ struct dnbd3_server {
* @server: the server this socket is connected to, 'NULL' if not connected
* @tx_lock: mutex to lock when sending
* @sock: the socket, 'NULL' if not connected
- * @panic: 'true' if it is not possible to send or receive
* @cookie: is incremented for every send, used to find the mq request in the
* receiver
* @keepalive_worker: worker to send a keepalive package
@@ -91,7 +90,6 @@ struct dnbd3_sock {
struct mutex tx_lock;
struct socket *sock;
-// bool panic;
uint32_t cookie;
struct work_struct keepalive_worker;
@@ -108,10 +106,10 @@ struct dnbd3_sock {
* @disk: the gendisk
* @kobj: the kobject
* @device_lock: mutex to lock when device changes
- * @socks: array of dnbd3_sock to connect to
+ * @connected: 'true' when device is connected
+ * @number_connections: the nummber of parallel connections
+ * @socks: array of dnbd3_sock to connect to, the size is number_connections
* @imgname: the connected image name
- * @initial_server: the server which was configured with ioctl, will not be
- * overriden
* @alt_servers: array of alternative servers
* @new_servers_num: number of new alternative servers that are waiting to be
* copied to above array
@@ -165,7 +163,6 @@ struct dnbd3_device {
* @dnbd3: the dnbd3 device this command belongs to
* @lock: mutex to lock the cmd
* @cookie: the cookie of the command, this is set by the socket when sending
- * @status: the status of the command
* @requed: 'true' if the command is requed
*/
struct dnbd3_cmd {