All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6 v5] LVM2 topology support
@ 2009-07-13 20:11 Mike Snitzer
  2009-07-13 20:11 ` [PATCH 1/6] Add --dataalignmentoffset to pvcreate to pad aligned data area Mike Snitzer
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Mike Snitzer @ 2009-07-13 20:11 UTC (permalink / raw)
  To: lvm-devel

LVM2 topology support to properly align the PV's pe_start using the
associated 'alignment_offset' exposed in sysfs.

Provides manual configuration with pvcreate --dataalignmentoffset and
auto config control via 'devices/data_alignment_offset_detection' in
lvm.conf.

Documentation was added to the lvm.conf and pvcreate man pages.

Testing with pvcreate + vgextend + vgreduce + vgextend + vgreduce ...
proved to maintain the pe_start from the initial pvcreate.

v2 changes:
Also added another method for auto detection of --dataalignment using
the topology information that is exposed in sysfs.  Controlled via
'devices/data_alignment_detection' in lvm2.conf.

v3 changes:
Fixed 'devices/data_alignment_detection' patch (3/6) to retrieve the
minimum_io_size and optimal_io_size for partitions from the parent
device's 'queue/'.  Both attributes are found in 'queue/'

v4 changes:
Simplified the _mda_setup() change in --dataalignmentoffset patch (1/6).
Improved the documentation and comments in all patches. 

v5 changes:
Improved LVM2's support for partitions (in the MD and topology code paths).
Added MD, partitions, and topology tests to the testsuite.

Mike Snitzer (6):
  Add --dataalignmentoffset to pvcreate to pad aligned data area
  Add devices/data_alignment_offset_detection to lvm.conf.
  Add devices/data_alignment_detection to lvm.conf.
  Improve ability to lookup primary device associated with partition
  Retrieve MD sysfs attributes for MD partitions
  Add MD, partition and topology tests to the LVM2 test-suite

 WHATS_NEW                        |    3 +
 doc/example.conf                 |   21 ++++-
 lib/config/defaults.h            |    2 +
 lib/device/dev-md.c              |   13 ++-
 lib/device/device.c              |  184 ++++++++++++++++++++++++++++++++++++++
 lib/device/device.h              |   12 +++
 lib/format1/format1.c            |    1 +
 lib/format_pool/format_pool.c    |    1 +
 lib/format_text/archiver.c       |    2 +-
 lib/format_text/format-text.c    |   16 +++-
 lib/metadata/metadata-exported.h |    1 +
 lib/metadata/metadata.c          |   37 +++++++-
 lib/metadata/metadata.h          |    1 +
 man/lvm.conf.5.in                |   22 ++++-
 man/pvcreate.8.in                |   20 ++++-
 test/t-pvcreate-operation-md.sh  |   85 +++++++++++++++++
 test/t-pvcreate-usage.sh         |   12 +++
 test/test-utils.sh               |    2 +-
 tools/args.h                     |    1 +
 tools/commands.h                 |    7 +-
 tools/pvcreate.c                 |   23 +++++-
 tools/vgconvert.c                |    2 +-
 22 files changed, 444 insertions(+), 24 deletions(-)
 create mode 100644 test/t-pvcreate-operation-md.sh



^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 0/6 v6] LVM2 topology support
@ 2009-07-23  2:53 Mike Snitzer
  2009-07-23  2:53 ` [PATCH 2/6] Add devices/data_alignment_offset_detection to lvm.conf Mike Snitzer
  0 siblings, 1 reply; 16+ messages in thread
From: Mike Snitzer @ 2009-07-23  2:53 UTC (permalink / raw)
  To: lvm-devel

LVM2 topology support to properly align the PV's pe_start using the
associated 'alignment_offset' exposed in sysfs.

Provides manual configuration with pvcreate --dataalignmentoffset and
auto config control via 'devices/data_alignment_offset_detection' in
lvm.conf.

Documentation was added to the lvm.conf and pvcreate man pages.

v2 changes:
Also added another method for auto detection of --dataalignment using
the topology information that is exposed in sysfs.  Controlled via
'devices/data_alignment_detection' in lvm2.conf.

v3 changes:
Fixed 'devices/data_alignment_detection' patch (3/6) to retrieve the
minimum_io_size and optimal_io_size for partitions from the parent
device's 'queue/'.  Both attributes are found in 'queue/'

v4 changes:
Simplified the _mda_setup() change in --dataalignmentoffset patch (1/6).
Improved the documentation and comments in all patches. 

v5 changes:
Improved LVM2's support for partitions (in the MD and topology code paths).
Added MD, partitions, and topology tests to the testsuite.

v6 changes:
Added pe_align_offset to 'struct physical_volume'; Added
set_pe_align_offset().  After pe_start is initialized pe_align_offset is
added to it.

Mike Snitzer (6):
  Add --dataalignmentoffset to pvcreate to pad aligned data area
  Add devices/data_alignment_offset_detection to lvm.conf.
  Add devices/data_alignment_detection to lvm.conf.
  Improve ability to lookup primary device associated with partition
  Retrieve MD sysfs attributes for MD partitions
  Add MD, partition and topology tests to the LVM2 test-suite

 WHATS_NEW                        |    3 +
 doc/example.conf                 |   21 ++++-
 lib/config/defaults.h            |    2 +
 lib/device/dev-md.c              |   13 ++-
 lib/device/device.c              |  193 ++++++++++++++++++++++++++++++++++++++
 lib/device/device.h              |   12 +++
 lib/format1/format1.c            |    1 +
 lib/format_pool/format_pool.c    |    1 +
 lib/format_text/archiver.c       |    2 +-
 lib/format_text/format-text.c    |   15 +++-
 lib/metadata/metadata-exported.h |    2 +
 lib/metadata/metadata.c          |   57 +++++++++++-
 lib/metadata/metadata.h          |    3 +
 man/lvm.conf.5.in                |   22 ++++-
 man/pvcreate.8.in                |   20 ++++-
 test/t-pvcreate-operation-md.sh  |   85 +++++++++++++++++
 test/t-pvcreate-usage.sh         |   12 +++
 test/test-utils.sh               |    2 +-
 tools/args.h                     |    1 +
 tools/commands.h                 |    7 +-
 tools/pvcreate.c                 |   23 ++++-
 tools/vgconvert.c                |    2 +-
 22 files changed, 476 insertions(+), 23 deletions(-)
 create mode 100644 test/t-pvcreate-operation-md.sh



^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 0/6 v7] LVM2 topology support
@ 2009-07-25 22:14 Mike Snitzer
  2009-07-25 22:14 ` [PATCH 2/6] Add devices/data_alignment_offset_detection to lvm.conf Mike Snitzer
  0 siblings, 1 reply; 16+ messages in thread
From: Mike Snitzer @ 2009-07-25 22:14 UTC (permalink / raw)
  To: lvm-devel

LVM2 topology support to properly align the PV's pe_start using the
associated 'alignment_offset' exposed in sysfs.

Provides manual configuration with pvcreate --dataalignmentoffset and
auto config control via 'devices/data_alignment_offset_detection' in
lvm.conf.

Documentation was added to the lvm.conf and pvcreate man pages.

v2 changes:
Also added another method for auto detection of --dataalignment using
the topology information that is exposed in sysfs.  Controlled via
'devices/data_alignment_detection' in lvm2.conf.

v3 changes:
Fixed 'devices/data_alignment_detection' patch (3/6) to retrieve the
minimum_io_size and optimal_io_size for partitions from the parent
device's 'queue/'.  Both attributes are found in 'queue/'

v4 changes:
Simplified the _mda_setup() change in --dataalignmentoffset patch (1/6).
Improved the documentation and comments in all patches. 

v5 changes:
Improved LVM2's support for partitions (in the MD and topology code paths).
Added MD, partitions, and topology tests to the testsuite.

v6 changes:
Added pe_align_offset to 'struct physical_volume'; Added
set_pe_align_offset().  After pe_start is initialized pe_align_offset is
added to it.

v7 changes:
Revised pvcreate manpage to document --datalignmentoffset more clearly.
Added negative check that makes sure the PV's data area is not beyond
the end of the device.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-07-25 22:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13 20:11 [PATCH 0/6 v5] LVM2 topology support Mike Snitzer
2009-07-13 20:11 ` [PATCH 1/6] Add --dataalignmentoffset to pvcreate to pad aligned data area Mike Snitzer
2009-07-16 15:11   ` Alasdair G Kergon
2009-07-16 20:53     ` Mike Snitzer
2009-07-16 22:11       ` Alasdair G Kergon
2009-07-13 20:11 ` [PATCH 2/6] Add devices/data_alignment_offset_detection to lvm.conf Mike Snitzer
2009-07-16 18:47   ` Milan Broz
2009-07-16 21:00     ` Mike Snitzer
2009-07-16 21:15     ` Mike Snitzer
2009-07-17  7:43       ` Milan Broz
2009-07-13 20:11 ` [PATCH 3/6] Add devices/data_alignment_detection " Mike Snitzer
2009-07-13 20:11 ` [PATCH 4/6] Improve ability to lookup primary device associated with partition Mike Snitzer
2009-07-13 20:11 ` [PATCH 5/6] Retrieve MD sysfs attributes for MD partitions Mike Snitzer
2009-07-13 20:11 ` [PATCH 6/6] Add MD, partition and topology tests to the LVM2 test-suite Mike Snitzer
  -- strict thread matches above, loose matches on Subject: below --
2009-07-23  2:53 [PATCH 0/6 v6] LVM2 topology support Mike Snitzer
2009-07-23  2:53 ` [PATCH 2/6] Add devices/data_alignment_offset_detection to lvm.conf Mike Snitzer
2009-07-25 22:14 [PATCH 0/6 v7] LVM2 topology support Mike Snitzer
2009-07-25 22:14 ` [PATCH 2/6] Add devices/data_alignment_offset_detection to lvm.conf Mike Snitzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.