]> sourceware.org Git - lvm2.git/commit
Update heuristic used for default and detected data alignment.
authorMike Snitzer <snitzer@redhat.com>
Fri, 20 Aug 2010 20:59:05 +0000 (20:59 +0000)
committerMike Snitzer <snitzer@redhat.com>
Fri, 20 Aug 2010 20:59:05 +0000 (20:59 +0000)
commit4efb1d9cbbd8d38e2462cd76b9bb1b247e5b549c
tree7663aac7886dbc0af9cd6070bd4f6fe0d8250a87
parentaa06d919727e770b056ec59c48147d0bd1bbfe70
Update heuristic used for default and detected data alignment.

Add "devices/default_data_alignment" to lvm.conf to control the internal
default that LVM2 uses: 0==64k, 1==1MB, 2==2MB, etc.

If --dataalignment (or lvm.conf's "devices/data_alignment") is specified
then it is always used to align the start of the data area.  This means
the md_chunk_alignment and data_alignment_detection are disabled if set.

(Same now applies to pvcreate --dataalignmentoffset, the specified value
will be used instead of the result from data_alignment_offset_detection)

set_pe_align() still looks to use the determined default alignment
(based on lvm.conf's default_data_alignment) if the default is a
multiple of the MD or topology detected values.
WHATS_NEW
doc/example.conf.in
lib/config/defaults.h
lib/format_text/format-text.c
lib/metadata/metadata.c
This page took 0.031695 seconds and 5 git commands to generate.