1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/format_text
Alasdair Kergon 8929ce6651 Add --dataalignment to pvcreate to specify alignment of data area. (mbroz)
This patch is not fully tested and leaves some related bugs unfixed.

Intended behaviour of the code now:

  pe_start in the lvm2 format PV label header is set only by pvcreate (or
vgconvert -M2) and then preserved in *all* operations thereafter.

  In some specialist cases, after the PV is added to a VG, the pe_start
field in the VG metadata may hold a different value and if so, it
overrides the other one for as long as the PV is in such a VG.

  Currently, the field storing the size of the data area in the PV label
header always holds 0.  As it only has meaning in the context of a
volume group, it is calculated whenever the PV is added to a VG (and can
be derived from extent_size and pe_count in the VG metadata).
2009-02-22 19:00:26 +00:00
..
archive.c Make _init_rand() thread safe - use rand_r() instead of rand(). 2008-12-07 04:27:56 +00:00
archiver.c Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00
archiver.h Remove backup_enable() calls after create_toolcontext() calls. 2008-12-11 03:33:35 +00:00
export.c Added displayable_lvs_in_vg and lv_is_displayable functions to deal with 2008-12-04 15:54:26 +00:00
flags.c Improve the way VGs with PVs missing are handled so manual intervention 2008-09-19 06:42:00 +00:00
format-text.c Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +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 Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +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