]> sourceware.org Git - lvm2.git/commit
lvconvert: limit libdm to maximum of 64 RAID devices
authorHeinz Mauelshagen <heinzm@redhat.com>
Mon, 27 Feb 2017 20:42:15 +0000 (21:42 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Mon, 27 Feb 2017 20:42:15 +0000 (21:42 +0100)
commit27384c52cf6a55ec7c8d64deecff2a81536193c7
tree3c066b3a920c2380fa808a1fca329d7caa49b731
parentc41e99948819e896d9d06b4a8192ec7a63facf65
lvconvert: limit libdm to maximum of 64 RAID devices

Commit 64a2fad5d6c6 raised the maximum number of RAID devices to 64.

Commit e2354ea344c2 introduced RAID_BITMAP_SIZE as 4 to have
256 bits (4 * 64 bit array members), thus changing the libdm API
unnecessarilly for the time being.

To not change the API, reduce RAID_BITMAP_SIZE to 1.
Remove an unneeded definition of it from libdm-common.h.

If we ever decide to raise past 64, we'll version the API.

Related: rhbz834579
Related: rhbz1191935
Related: rhbz1191978
libdm/libdevmapper.h
libdm/libdm-common.h
This page took 0.038227 seconds and 5 git commands to generate.