]> sourceware.org Git - lvm2.git/commit
Disallow mirrored logs in cluster mirrors.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Mon, 2 Aug 2010 19:03:45 +0000 (19:03 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Mon, 2 Aug 2010 19:03:45 +0000 (19:03 +0000)
commitefaaf3146da35481375b700d6cba6eb32435e275
treecd2ae0f9689e87cb48a6cadc57334d01c50f71c1
parent0dfae7e47a7702d0f362ff7636628716325e96cd
Disallow mirrored logs in cluster mirrors.

The cluster log daemon (cmirrord) is not multi-threaded and
can handle only one request at a time.  When a log is stacked
on top of a mirror (which itself contains a 'core' log), it
creates a situation that cannot be solved without threading.

When the top level mirror issues a "resume", the log daemon
attempts to read from the log device to retrieve the log
state.  However, the log is a mirror which, before issuing
the read, attempts to determine the 'sync' status of the
region of the mirror which is to be read.  This sync status
request cannot be completed by the daemon because it is
blocked on a read I/O to the very mirror requesting the
sync status.
WHATS_NEW
lib/metadata/mirror.c
tools/lvconvert.c
This page took 0.035456 seconds and 5 git commands to generate.