1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib
Milan Broz 5c93cdba2d Fix PV datalign when for values starting prior to MDA area.
The dataalign value must always be aligned according
to MDA area.
The currect code checks if calculated value collides with
MDA area but not if the value is so small that it is
located before MDA starts.

Unfortunatelly there can be also MDA in the end of the device.

The patch adds simple check to avoid this miscalculation.
Patch expects that first MDA always starts on <= pagesize boundary
(this is true for all allowed label sector parameters).
2009-05-07 12:11:50 +00:00
..
activate Use zalloc in initialization of device manager (to zero pvmove mirror count). 2009-05-07 12:01:21 +00:00
cache Fix pool leak in lvmcache_read_vg error path. 2009-04-24 12:03:55 +00:00
commands Fix error message when archive initialization fails. 2009-04-02 20:46:11 +00:00
config fix some issues when compiling with -D DEBUG_POOL 2009-03-26 09:25:18 +00:00
datastruct more missing bits 2008-11-04 14:57:06 +00:00
device Missed file from previous checkin. 2009-03-17 14:40:00 +00:00
display Added displayable_lvs_in_vg and lv_is_displayable functions to deal with 2008-12-04 15:54:26 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Add MMC device type to filters. 2009-04-16 10:16:14 +00:00
format1 Introduce memory pool per volume group. 2009-04-10 09:59:18 +00:00
format_pool Introduce memory pool per volume group. 2009-04-10 09:59:18 +00:00
format_text Fix PV datalign when for values starting prior to MDA area. 2009-05-07 12:11:50 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Provide da and mda locations in debug message when writing text format label. 2009-02-20 23:19:28 +00:00
locking Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
log more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
metadata Fix error path in vg_make_handle(). 2009-04-28 17:46:47 +00:00
mirror Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
misc Attempt cleanup in child before execing new binary in exec_cmd() 2009-02-28 00:54:06 +00:00
mm fix setpriority int error 2008-05-28 23:12:45 +00:00
report Update columns.h comment. 2009-05-06 15:25:23 +00:00
snapshot Save and restore the previous logging level when log level is changed. 2009-04-02 21:34:41 +00:00
striped Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
uuid Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
zero Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
Makefile.in Detect and wipe swap signatures in pvcreate. 2009-03-17 13:59:56 +00:00