Skip to content

dm-replicator: introduce new remote replication target

[email protected] dm-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 4 repliesIn review
  2. v54 patches 1 replySuperseded
  3. v44 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches10 repliesSuperseded
v25 patches5 repliesSuperseded
v16 patches0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dm-replicator: documentation and module registryDocumentation/device-mapper/replicator.txt drivers/md/Kconfig drivers/md/Makefile +2 more+474 -03 replies
2/4dm-replicator: replication log and site link handler interfaces and main replicator moduledrivers/md/Makefile drivers/md/dm-repl-log.h drivers/md/dm-repl-slink.h +3 more+2568 -10 replies
3/4dm-replicator: ringbuffer replication log handlerdrivers/md/Makefile drivers/md/dm-repl-log-ringbuffer.c+5001 -01 reply
4/4dm-replicator: blockdev site link handlerdrivers/md/Makefile drivers/md/dm-repl-slink-blockdev.c+3055 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJon Brassow
1/4R-b T-b
2/4R-b T-b
3/4R-b T-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/4] dm-replicator: introduce new remote replication target

From: Heinz Mauelshagen <[email protected]>

* 6th version of patch series (initial version dated Oct 23 2009) *

Rebased to 2.6.33-rc1 (dm-dirty-log interface change). Fixed some sparse warnings spotted by Alasdair (make C=1).

This is a series of 4 patches introducing the device-mapper remote data replication target "dm-replicator" to kernel 2.6.

Userspace support for remote data replication will be in a future LVM2 version.

The target supports disaster recovery by replicating groups of active mapped devices (ie. receiving io from applications) to one or more remote sites to paired groups of equally sized passive block devices (ie. no application access). Synchronous, asynchronous replication (with fallbehind settings) and temporary downtime of transports are supported.

It utilizes a replication log to ensure write ordering fidelity for the whole group of replicated devices, hence allowing for consistent recovery after failover of arbitrary applications
(eg. DBMS utilizing N > 1 devices).

In case the replication log runs full, it is capable to fall back to dirty logging utilizing the existing dm-log module, hence keeping track of regions of devices wich need resynchronization after access to the transport returned.

Access logic of the replication log and the site links are implemented as loadable modules, hence allowing for future implementations with different capabilities in terms of additional plugins.

A "ringbuffer" replication log module implements a circular ring buffer store for all writes being processed. Other replication log handlers may follow this one as plugins too.

A "blockdev" site link module implements block devices access to all remote devices, ie. all devices exposed via the Linux block device layer (eg. iSCSI, FC).
Again, other eg. network type transport site link handlers may follow as plugins.

Please review for upstream inclusion.

Heinz