]> sourceware.org Git - lvm2.git/commit
Changing RAID status flags to 64-bit broke some binary flag operations.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 13 Sep 2011 16:33:21 +0000 (16:33 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 13 Sep 2011 16:33:21 +0000 (16:33 +0000)
commitd954a7f99111ebe6b44bc6d6baa2f56344a8b349
tree511d54aa8b8d9b6b8600a2c3b74c07b26db2fb79
parent40a234183c91f08e6dee12cd6de91b46cceb189e
Changing RAID status flags to 64-bit broke some binary flag operations.

LVM_WRITE is a 32-bit flag.  Now that RAID[_IMAGE|_META] are 64-bit,
and'ing a RAID LV's status against LVM_WRITE can reset the higher order
flags.

A similar thing will affect thinp flags if not careful.
WHATS_NEW
lib/metadata/raid_manip.c
This page took 0.034156 seconds and 5 git commands to generate.