This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/cmirror-kernel/src dm-cmirror-client.c ...
- From: jbrassow at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 27 Jul 2006 23:10:58 -0000
- Subject: cluster/cmirror-kernel/src dm-cmirror-client.c ...
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4U4
Changes by: jbrassow@sourceware.org 2006-07-27 23:10:58
Modified files:
cmirror-kernel/src: dm-cmirror-client.c dm-cmirror-common.h
dm-cmirror-server.c
Log message:
- further tightening for 199826
We now refuse to read/write the disk log if we are suspended. We also
add BUG_ON(<suspended>) to operations that do I/O to the log device.
The reason for the BUG_ON() is that it is better to drop the machine
than to have it hang the cluster while it attempts to read/write from
a suspended device. That being said, it should now be impossible to
get to those functions which would perform I/O operations during
suspension.
I have still seen cases where the mirror will stall. However, I think
this is due to LVM (clvmd), because it happens when a mirror is created
while the log device is suspended - which must not happen. I've only
seen this when doing simultaneous create/convert/remove from all nodes
in the cluster.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-client.c.diff?cvsroot=cluster&only_with_tag=RHEL4U4&r1=1.1.2.19.2.3&r2=1.1.2.19.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-common.h.diff?cvsroot=cluster&only_with_tag=RHEL4U4&r1=1.1.2.7.2.2&r2=1.1.2.7.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-server.c.diff?cvsroot=cluster&only_with_tag=RHEL4U4&r1=1.1.2.9.2.6&r2=1.1.2.9.2.7