1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/format_text
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
..
archive.c Properly release VG memory pool in archiver code. 2009-04-10 10:00:37 +00:00
archiver.c Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
archiver.h Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
export.c Move tools/version.h to lib/misc/lvm-version.h. 2009-02-22 22:11:58 +00:00
flags.c Add sparse devices: lvcreate -s --virtualoriginsize (hidden zero origin). 2009-04-25 01:17:59 +00:00
format-text.c Fix PV datalign when for values starting prior to MDA area. 2009-05-07 12:11:50 +00:00
format-text.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
import_vsn1.c Introduce memory pool per volume group. 2009-04-10 09:59:18 +00:00
import-export.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
import.c Cache VG metadata internally while VG lock is held. 2008-04-01 22:40:13 +00:00
layout.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
tags.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
text_export.h Use return_0 in a couple more places. 2008-03-10 18:51:27 +00:00
text_import.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
text_label.c Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00