All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 00/13] snapshot-merge target
@ 2009-12-04  2:23 Mike Snitzer
  2009-12-04  2:23 ` [PATCH v5 01/13] dm snapshot: rework writing to snapshot origin Mike Snitzer
                   ` (12 more replies)
  0 siblings, 13 replies; 20+ messages in thread
From: Mike Snitzer @ 2009-12-04  2:23 UTC (permalink / raw)
  To: dm-devel

The snapshot-merge target allows a snapshot to be merged back into the
snapshot's origin device.

One expected use of snapshot merging is the rollback of a root
filesystem after system upgrades (e.g.: yum update).  snapshot-merge
enables "system rollback" support for any filesystem that is using the
associated DM/LVM devices.

For LVM2 support please see:
http://people.redhat.com/msnitzer/patches/snapshot-merge/lvm2/LVM2-2.02.57/

v5 of this snapshot-merge series has the following changes:

* Updated to stack on agk's latest 'editing' quilt tree
* Added more content to Documentation/device-mapper/snapshot.txt
* Added comment block above snapshot_merge_map()
* Improved DMERR messages in merge_callback()
* Changed is_merge() macro to compare ti->type->name with a static
  string constant rather than checking ->map
* 'merging' flag is no longer cleared in persistent_prepare_exception
* Initialized 'merging_snap' to NULL in __find_merging_snapshot
* Removed one level of nesting in __validate_exception_handover
* Added 'merge_failed' flag to dm_snapshot structure and report merge
  failure accordingly in snapshot_status()

Mike Snitzer (3):
  dm exception store: snapshot-merge usage accounting
  dm snapshot: merge a linear region of chunks using one large IO
  dm snapshot: report merge failure in status

Mikulas Patocka (10):
  dm snapshot: rework writing to snapshot origin
  dm exception store: add snapshot-merge specific methods
  dm snapshot: add snapshot-merge target
  dm snapshot: merge target should not allocate new exceptions
  dm snapshot: do not allow more than one merging snapshot.
  dm snapshot: the merge procedure
  dm snapshot: queue writes to an area that is actively being merged
  dm snapshot: do not merge a chunk until active writes to it finish
  dm snapshot: make exceptions in other snapshots when merging
  dm snapshot: redirect accesses to origin if merging snap invalidated

 Documentation/device-mapper/snapshot.txt |   60 +++-
 drivers/md/dm-exception-store.h          |   27 ++
 drivers/md/dm-snap-persistent.c          |   89 +++++-
 drivers/md/dm-snap.c                     |  603 +++++++++++++++++++++++-------
 4 files changed, 647 insertions(+), 132 deletions(-)

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

end of thread, other threads:[~2009-12-08  2:46 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04  2:23 [PATCH v5 00/13] snapshot-merge target Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 01/13] dm snapshot: rework writing to snapshot origin Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 02/13] dm exception store: add snapshot-merge specific methods Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 03/13] dm exception store: snapshot-merge usage accounting Mike Snitzer
2009-12-07 21:10   ` Mike Snitzer
2009-12-07 23:44     ` Alasdair G Kergon
2009-12-07 23:53       ` Mike Snitzer
2009-12-08  0:00         ` Alasdair G Kergon
2009-12-08  2:46         ` Mikulas Patocka
2009-12-04  2:23 ` [PATCH v5 04/13] dm snapshot: add snapshot-merge target Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 05/13] dm snapshot: merge target should not allocate new exceptions Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 06/13] dm snapshot: do not allow more than one merging snapshot Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 07/13] dm snapshot: the merge procedure Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 08/13] dm snapshot: queue writes to an area that is actively being merged Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 09/13] dm snapshot: do not merge a chunk until active writes to it finish Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 10/13] dm snapshot: make exceptions in other snapshots when merging Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 11/13] dm snapshot: redirect accesses to origin if merging snap invalidated Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 12/13] dm snapshot: merge a linear region of chunks using one large IO Mike Snitzer
2009-12-04  2:23 ` [PATCH v5 13/13] dm snapshot: report merge failure in status Mike Snitzer
2009-12-05 18:44   ` 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.