From: Hugo Mills <hugo@carfax.org.uk>
To: Christoph Anton Mitterer <calestyo@scientia.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: is back and forth incremental send/receive supported/stable?
Date: Mon, 1 Feb 2021 10:46:09 +0000 [thread overview]
Message-ID: <20210201104609.GO4090@savella.carfax.org.uk> (raw)
In-Reply-To: <956e08b1aed7805f7ee387cc4994702c02b61560.camel@scientia.net>
On Sun, Jan 31, 2021 at 11:50:22PM +0100, Christoph Anton Mitterer wrote:
> Hey Hugo.
>
>
> Thanks for your explanation.
> I assume such a swapped send/receive would fail at least gracefully?
It'll fail *obviously*. I'm not sure how graceful it is. :)
> On Fri, 2021-01-29 at 19:20 +0000, Hugo Mills wrote:
> > In your scenario with MASTER and COPY-1 swapped, you'd have to
> > match the received_uuid from the sending side (on old COPY-1) to the
> > actual UUID on old MASTER. The code doesn't do this, so you'd have to
> > patch send/receive to do this.
>
> Well from the mailing list thread you've referenced it seems that the
> whole thing is rather quite non-trivial... so I guess it's nothing for
> someone who has basically no insight into btrfs code ^^
>
> It's a pity though, that this doesn't work. Especially the use case of
> sending back (backup)snapshots would seem pretty useful.
>
> Given that this thread is nearly 6 years, I'd guess the whole idea has
> been abandoned upstream?!
It can be made to work, in a number of different ways -- the option
above is one way; another would be to add extra history of subvolume
identities -- but I guess it's not a priority for the devs, and at
least the latter approach would require extending the on-disk FS
format. Both approaches would need changes to the send stream format.
Hugo.
--
Hugo Mills | Great oxymorons of the world, no. 7:
hugo@... carfax.org.uk | The Simple Truth
http://carfax.org.uk/ |
PGP: E2AB1DE4 |
next prev parent reply other threads:[~2021-02-01 10:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-29 19:09 is back and forth incremental send/receive supported/stable? Christoph Anton Mitterer
2021-01-29 19:18 `
2021-01-29 19:20 ` Hugo Mills
2021-01-31 22:50 ` Christoph Anton Mitterer
2021-02-01 10:46 ` Hugo Mills [this message]
2021-02-01 21:53 ` Chris Murphy
2021-02-02 19:42 ` Andrei Borzenkov
2021-02-01 22:51 ` Christoph Anton Mitterer
2021-02-02 7:53 ` Hugo Mills
2021-02-02 19:44 ` Andrei Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210201104609.GO4090@savella.carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=calestyo@scientia.net \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox