All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/35] Add full metadata balancing support, v5.
@ 2010-06-22  3:05 Dave Wysochanski
  2010-06-22  3:05 ` [PATCH 01/35] Change 'filler' to 'flags' in on-disk 'raw_locn' structure Dave Wysochanski
  0 siblings, 1 reply; 39+ messages in thread
From: Dave Wysochanski @ 2010-06-22  3:05 UTC (permalink / raw)
  To: lvm-devel

This patchset is a fifth round of the metadata balancing support,
makes minor revisions and builds on the fourth round of patches
submitted (5/26/2010).  There are still some definite warts and
FIXMEs in the code but this is now a complete patchset for the
metadata balance feature.

Changes from the fourth round start around patch 19 and include:
1) Sort mdas so that ignored mdas get committed to disk first.
This reduces the time that we may get an inconsistent on-disk
state that would require auto-repair.
2) Fixed a few bugs in pv-based metadata balance patchset.
3) Add "phase 2" (vg-based) of metadata balance.  Define one
function which implements the metadata balancing and call it from
the vg_write() path.  In most cases, this works just fine, but
there are a few checks that need updated for the new 'fid' list
of ignored mdas.
4) Update nightly test cases to include all "phase 2" commands
such as vgcreate, vgchange, vgsplit, etc.




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

end of thread, other threads:[~2010-06-22 14:04 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22  3:05 [PATCH 00/35] Add full metadata balancing support, v5 Dave Wysochanski
2010-06-22  3:05 ` [PATCH 01/35] Change 'filler' to 'flags' in on-disk 'raw_locn' structure Dave Wysochanski
2010-06-22  3:05   ` [PATCH 02/35] Add text format specific 'rlocn' ignore flag and access functions Dave Wysochanski
2010-06-22  3:05     ` [PATCH 03/35] Add location independent flag and functions to ignore mdas Dave Wysochanski
2010-06-22  3:05       ` [PATCH 04/35] Move dev_open / dev_close outside _vg_read_raw_area() Dave Wysochanski
2010-06-22  3:05         ` [PATCH 05/35] Move dev_open/dev_close outside vgname_from_mda() Dave Wysochanski
2010-06-22  3:05           ` [PATCH 06/35] Allow raw_read_mda_header to be called from text_label.c Dave Wysochanski
2010-06-22  3:05             ` [PATCH 07/35] Ensure in-memory state matches on-disk state of mda ignore bit Dave Wysochanski
2010-06-22  3:05               ` [PATCH 08/35] Add mda_locn_match() internal library function for mapping pv/device to VG mda Dave Wysochanski
2010-06-22  3:05                 ` [PATCH 09/35] Add mda location specific mda_copy constructor Dave Wysochanski
2010-06-22  3:05                   ` [PATCH 10/35] Use vg_mda_count() in vgdisplay Dave Wysochanski
2010-06-22  3:05                     ` [PATCH 11/35] Add metadata_areas_ignored list and functions to manage ignored mdas Dave Wysochanski
2010-06-22  3:05                       ` [PATCH 12/35] Define new functions and vgs/pvs fields related to mda ignore Dave Wysochanski
2010-06-22  3:05                         ` [PATCH 13/35] Add --metadataignore to pvchange, allowing for ignoring of metadata areas Dave Wysochanski
2010-06-22  3:05                           ` [PATCH 14/35] Update pvchange, pvs and vgs man pages for metadata ignore Dave Wysochanski
2010-06-22  3:05                             ` [PATCH 15/35] Implement ignore of mda if bit set by skipping r/w of metadata Dave Wysochanski
2010-06-22  3:05                               ` [PATCH 16/35] Add mdas_empty_or_ignored() helper function Dave Wysochanski
2010-06-22  3:05                                 ` [PATCH 17/35] Use mdas_empty_or_ignored() in place of checks for empty mda list Dave Wysochanski
2010-06-22  3:05                                   ` [PATCH 18/35] Update _vg_read and _text_create_text_instance to use fid_add_mda[s] Dave Wysochanski
2010-06-22  3:05                                     ` [PATCH 19/35] Refactor vg_commit() to add _vg_commit_mdas() Dave Wysochanski
2010-06-22  3:05                                       ` [PATCH 20/35] Before committing each mda, arrange mdas so ignored mdas get committed first Dave Wysochanski
2010-06-22  3:05                                         ` [PATCH 21/35] Add tests for phase 1 of metadata balance - manage per-PV ignore bit Dave Wysochanski
2010-06-22  3:05                                           ` [PATCH 22/35] Define vgmetadatacopies in vgchange man page Dave Wysochanski
2010-06-22  3:05                                             ` [PATCH 23/35] Add mda_copies to VG structures and initialization Dave Wysochanski
2010-06-22  3:05                                               ` [PATCH 24/35] Add vg get/set methods for VG metadata copies Dave Wysochanski
2010-06-22  3:05                                                 ` [PATCH 25/35] Make vg->mda_copies persistent in on disk vg metadata Dave Wysochanski
2010-06-22  3:05                                                   ` [PATCH 26/35] Add vg_mda_copies display field to 'vgs' command Dave Wysochanski
2010-06-22  3:06                                                     ` [PATCH 27/35] Update vgchange tool to accept --vgmetadatacopies Dave Wysochanski
2010-06-22  3:06                                                       ` [PATCH 28/35] Implement _vg_metadata_balance and call from vg_write() path Dave Wysochanski
2010-06-22  3:06                                                         ` [PATCH 29/35] Set vg_mda_copies when pvchange --metadataignore is given Dave Wysochanski
2010-06-22  3:06                                                           ` [PATCH 30/35] Add --vgmetadatacopies to vgcreate man page, command, and lvm.conf Dave Wysochanski
2010-06-22  3:06                                                             ` [PATCH 31/35] Ensure fid mda lists are populated correctly during vgextend Dave Wysochanski
2010-06-22  3:06                                                               ` [PATCH 32/35] Update check in vg_split_mdas to account for ignored mdas list Dave Wysochanski
2010-06-22  3:06                                                                 ` [PATCH 33/35] Update _vgmerge_single() to move fid->metadata_areas_ignored Dave Wysochanski
2010-06-22  3:06                                                                   ` [PATCH 34/35] Add --vgmetadatacopies to vgsplit man page and command Dave Wysochanski
2010-06-22  3:06                                                                     ` [PATCH 35/35] Update tests to handle phase 2 (vg based) metadata balance Dave Wysochanski
2010-06-22  8:18                                                   ` [PATCH 25/35] Make vg->mda_copies persistent in on disk vg metadata Zdenek Kabelac
2010-06-22 10:36                                                     ` Dave Wysochanski
2010-06-22 14:04                                                       ` Alasdair G Kergon

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.