1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib
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
..
activate If kernel supports only one dm major number, use in place of any supplied. 2009-02-12 20:42:07 +00:00
cache Index cached vgmetadata by vgid not vgname to cope with duplicate vgnames. (dwyso) 2009-02-17 18:56:41 +00:00
commands Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
config Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
datastruct more missing bits 2008-11-04 14:57:06 +00:00
device Display a 'dev_size' of zero for missing devices in reports. 2009-01-10 02:43:51 +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 Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
filters Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
format1 Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00
format_pool Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00
format_text Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +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 interrupt unblocking after vgcreate, for example: drop_cached_metadata() 2009-02-22 16:13:57 +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 Add --dataalignment to pvcreate to specify alignment of data area. (mbroz) 2009-02-22 19:00:26 +00:00
mirror Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
misc Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
mm fix setpriority int error 2008-05-28 23:12:45 +00:00
report Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00
snapshot Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
striped Add detection of clustered mirror log capability. 2008-04-07 10:23:47 +00:00
uuid Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
zero Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
lvm2.h Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
Makefile.in more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00