[DRBD-cvs] drbd by phil; Added the user space side of ko-count. (...
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Wed, 9 Jun 2004 22:06:41 +0200 (CEST)
DRBD CVS committal
Author : phil
Module : drbd
Dir : drbd/drbd
Modified Files:
Tag: rel-0_7-branch
drbd_main.c
Log Message:
Added the user space side of ko-count. (as in drbd-0.6.x)
Added the user space side of on-disconnect. Kernel part not yet done.
[I am still not sure about the freeze_io thing, maybe I will remove...]
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_main.c,v
retrieving revision 1.73.2.185
retrieving revision 1.73.2.186
diff -u -3 -r1.73.2.185 -r1.73.2.186
--- drbd_main.c 8 Jun 2004 12:46:33 -0000 1.73.2.185
+++ drbd_main.c 9 Jun 2004 20:06:36 -0000 1.73.2.186
@@ -1016,7 +1016,7 @@
set_fs(KERNEL_DS);
if (sock == mdev->data.socket)
- mdev->ko_count = 10; // FIXME conf.ko_count
+ mdev->ko_count = mdev->conf.ko_count;
do {
/* STRANGE
* tcp_sendmsg does _not_ use its size parameter at all ?