* [PATCH] rbd: merge diff files
@ 2015-01-05 9:05 Li Wang
0 siblings, 0 replies; only message in thread
From: Li Wang @ 2015-01-05 9:05 UTC (permalink / raw)
To: Sage Weil, Josh Durgin; +Cc: ceph-devel, MingXin Liu, Yunchuan Wen, Li Wang
RBD supplies the 'export-diff' to
export a diff file between two clones.
This is inconvinient for periodical backup,
since a bunch of diff files wastes the disk
space by keeping multiple copies of the
data on the same location, and complicates
and slows down the recovery process.
In this case, only one diff file is expected.
This motivates us to develop a 'merge-diff'
tool. The semantic is straightforward,
it merges two diff files into one single diff
file. Multiple diff files could be easily
merged by further using some simple shell
tricks.
The patches are at:
https://github.com/ceph/ceph/pull/3292
MingXin Liu (6):
rbd: add an option merge-diff
rbd: parse merge-diff arguments
rbd: write a diff description into the merged diff file
rbd: parse diff file header for diff merging
rbd: parse diff file body for diff merging
rbd: test case for rbd merge-diff
Yunchuan Wen (1):
rbd: merge two diff files into one single file
qa/workunits/rbd/merge_diff.sh | 475 +++++++++++++++++++++++++++++++++++++++++
src/rbd.cc | 384 ++++++++++++++++++++++++++++++++-
2 files changed, 855 insertions(+), 4 deletions(-)
create mode 100755 qa/workunits/rbd/merge_diff.sh
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-05 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 9:05 [PATCH] rbd: merge diff files Li Wang
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.