1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Peter Rajnoha b778653f03 pv_header_extension: add support for writing PV header extension (flags & Embedding Area)
The PV header extension information (PV header extension version, flags
and list of Embedding Area locations) is stored just beyond the PV header base.

When calculating the Embedding Area start value (ea_start), the same logic is
used as when calculating the pe_start value for Data Area - the value must
follow exactly the same alignment restrictions for its start value
(the alignment detected automatically or provided via command line using
the --dataalignment and --dataalignmentoffset arguments).

The Embedding Area is placed at the very start of the PV, starting at
ea_start. The Data Area starting at pe_start is placed next. The pe_start is
still properly aligned. Due to the pe_start alignment, it's possible that the
resulting Embedding Area size (ea_size) ends up bigger in size than requested
(but never less than requested).
2013-02-26 11:28:00 +01:00
..
lv_alloc.h discards: don't discard reconfigured extents 2012-06-27 22:12:01 +01:00
lv_manip.c thin: removal of external_origin 2013-02-23 10:37:01 +01:00
lv.c thin: report external origin 2013-02-23 10:37:01 +01:00
lv.h thin: add support for external origin 2013-02-23 10:36:58 +01:00
merge.c thin: add support for external origin 2013-02-23 10:36:58 +01:00
metadata-exported.h pv_header_extension: add support for writing PV header extension (flags & Embedding Area) 2013-02-26 11:28:00 +01:00
metadata.c pv_header_extension: add support for writing PV header extension (flags & Embedding Area) 2013-02-26 11:28:00 +01:00
metadata.h cleanup: use struct pvcreate_restorable_params throughout 2013-02-26 11:25:11 +01:00
mirror.c cleanup: add internal error check 2013-02-05 14:27:24 +01:00
pv_alloc.h discards: split discard from release_pv_segment 2012-06-27 22:11:54 +01:00
pv_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
pv.h pv_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
raid_manip.c clean-up: Remove a FIXME question that has been settled 2013-02-20 15:03:58 -06:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Use a more correct macro for 'seg_is_linear' 2011-10-14 14:21:32 +00:00
snapshot_manip.c Reinstate support for format1 snapshots, but issue deprecated warning. 2011-12-20 00:02:18 +00:00
thin_manip.c thin: add support for external origin 2013-02-23 10:36:58 +01:00
vg.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
vg.h Add free_orphan_vg 2012-02-13 11:03:59 +00:00