1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib
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
..
activate activation: fix pvmove partial tree creation 2013-02-23 12:09:12 +01:00
cache pv_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
commands logging: add debug classes 2013-01-07 22:25:19 +00:00
config RAID: Add new 'raid10_segtype_default' setting in lvm.conf 2013-02-20 15:10:04 -06:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
display thin: report external origin 2013-02-23 10:37:01 +01:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters filters: add scm devices 2013-01-11 09:24:07 +01:00
format1 pv_header_extension: add support for writing PV header extension (flags & Embedding Area) 2013-02-26 11:28:00 +01:00
format_pool cleanup: use struct pvcreate_restorable_params throughout 2013-02-26 11:25:11 +01:00
format_text pv_header_extension: add support for writing PV header extension (flags & Embedding Area) 2013-02-26 11:28:00 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
locking logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
log logging: add debug classes 2013-01-07 22:25:19 +00:00
metadata pv_header_extension: add support for writing PV header extension (flags & Embedding Area) 2013-02-26 11:28:00 +01:00
mirror clean-up: Rename lvm.conf setting 'mirror_region_size' to 'raid_region_size' 2013-02-20 14:40:17 -06:00
misc logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
mm logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
raid RAID: Add support for RAID10 2012-08-24 15:34:19 -05:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report thin: report external origin 2013-02-23 10:37:01 +01:00
snapshot Differentiate between snapshot status of "Invalid" and "Merge failed". 2012-01-20 22:02:04 +00:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin thin: add support for external origin 2013-02-23 10:36:58 +01:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00