1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/cmirrord
Jonathan Earl Brassow e5b9338ada Fix bug in cmirror that caused incorrect status info to print on some nodes.
Looking at the code in cmirrord/local.c, we can see the various different
request types handled in different ways.  Some information that is non-changing
does not need to go around the cluster and can be short-circuited.  For
example, once the cluster mirror is in-sync, it is pointless to continue
sending that query around the cluster.  We can save network bandwidth and reply
directly back to the kernel.  When it comes to status information, there are
two types 'TABLE' and 'INFO'.  The 'TABLE' information never changes and
belongs to the group of requests that can be safely short-circuited.  The
'STATUS' information can change - and will change if a device fails.  Thus it
cannot be short-circuited, but this is exactly what was found.  The 'STATUS'
information request was being short-circuited and therefore never reporting the
failure condition to anyone other than the "server" that experienced it
directly.
2012-04-26 17:30:49 +00:00
..
clogd.c Check for failing 'stat' and skip this loop iteration 2011-09-21 10:42:53 +00:00
cluster.c Fix bug in cmirror that caused incorrect status info to print on some nodes. 2012-04-26 17:30:49 +00:00
cluster.h Deal with a few more compiler warnings. 2010-01-20 02:43:19 +00:00
common.h Clean up include files. 2010-01-18 21:07:24 +00:00
compat.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
compat.h Clean up include files. 2010-01-18 21:07:24 +00:00
functions.c Remove some whitespaces. 2012-03-10 09:32:46 +00:00
functions.h Clean up include files. 2010-01-18 21:07:24 +00:00
link_mon.c Remove some whitespaces. 2012-03-10 09:32:46 +00:00
link_mon.h Clean up include files. 2010-01-18 21:07:24 +00:00
local.c Fix bug in cmirror that caused incorrect status info to print on some nodes. 2012-04-26 17:30:49 +00:00
local.h Clean up include files. 2010-01-18 21:07:24 +00:00
logging.c Clean up include files. 2010-01-18 21:07:24 +00:00
logging.h Use "" instead of <> for configure.h and libdevmapper.h 2010-06-15 11:00:44 +00:00
Makefile.in INSTALL rules updates 2010-04-09 21:42:48 +00:00