Skip to contentSkip to conversation

LVM2 ./WHATS_NEW daemons/cmirrord/functions.c

PATCH [email protected] 1 participant 1 message Jan 15, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: jbrassow at sourceware.org 2010-01-15 18:48:24

Modified files:
. : WHATS_NEW
daemons/cmirrord: functions.c

Log message:
When moving the cluster log server into the LVM tree, the in memory bitmap tracking was switched from the e2fsprogs implementation to the device-mapper implementation (dm_bitset_t). The latter has a leading uin32_t field designed to hold the number of bits that are being tracked. The code was not properly handling this change in all places. Specifically, when getting the bitmap to/from disk.

Endian adjustments will likely need to be made on the accounting field as well, since bitmaps are passed between machines on start-up.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1390&r2=1.1391
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/cmirrord/functions.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.59 - 
 ===================================
+  Fix cluster log issues with in-memory bitmaps.
   Improve target type compatibility checking in _percent_run().
   Add 'target_status_compatible' method to 'struct segtype_handler'.
   Fix difference between CTR table built and expected for cluster log.
daemons/cmirrord/functions.c +36 -19

142 lines not on this page · raw message