[DRBD-cvs] user by lars; * no more "kupdate submitting !uptodate ...
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Fri, 30 Apr 2004 11:47:03 +0200 (CEST)
DRBD CVS committal
Author : lars
Project : drbd
Module : user
Dir : drbd/user
Modified Files:
Tag: rel-0_7-branch
drbdsetup.c
Log Message:
* no more "kupdate submitting !uptodate buffers", thats not our business
* remove anoying INFO("unplug")
sorry, leftover from my last debug session.
* more detailed info about unexpected values on Unconfigure
* want to see the generation counters upon connect
* going StandAlone when already Primary, but we decide to
become SyncTarget on connect.
ToDo: panic on connection loss when INCONSITENT|DISKLESS
* another FIXME comment
* missing part from drbdsetup (ERR == ENODATA)
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/user/drbdsetup.c,v
retrieving revision 1.54.2.31
retrieving revision 1.54.2.32
diff -u -3 -r1.54.2.31 -r1.54.2.32
--- drbdsetup.c 29 Apr 2004 14:48:20 -0000 1.54.2.31
+++ drbdsetup.c 30 Apr 2004 09:46:57 -0000 1.54.2.32
@@ -899,6 +899,9 @@
if(err==ENETRESET)
fprintf(stderr,"Not possible, since the device is in primary state\n"
"and not connected.\n");
+ if(err==ENODATA)
+ fprintf(stderr,"Not possible, since the device is in primary state\n"
+ "and has no local disk.\n");
if(err==ENXIO)
fprintf(stderr," - Do not shoot yourself in the foot. -\n"
"A system without backing storage is not possible.\n");