linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: linux-btrfs@vger.kernel.org
Subject: does btrfs-receive use/compare the checksums from the btrfs-send side?
Date: Sun, 28 Aug 2016 05:46:00 +0200	[thread overview]
Message-ID: <1472355960.16760.9.camel@scientia.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

Hey.

I've often wondered:
When I do a send/receive, does the receiving side use the checksums
from the sending side (either by directly storing them or by comparing
them with calculated checksums and failing if they don't match after
the transfer)?

Cause that would effectively secure any transport in between against
transmission errors ... and also against badblocks/etc. on the
receiving fs.

If btrfs is already that smart, then I think this feature should be
mentioned in the send/receive manpages.

Cheers,
Chris.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5930 bytes --]

             reply	other threads:[~2016-08-28  3:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-28  3:46 Christoph Anton Mitterer [this message]
2016-08-28 17:35 ` does btrfs-receive use/compare the checksums from the btrfs-send side? Chris Murphy
2016-08-28 17:50   ` Christoph Anton Mitterer
2016-08-28 20:19     ` Adam Borowski
2016-08-28 20:25       ` Christoph Anton Mitterer
2016-08-30 17:14         ` Sean Greenslade
2016-08-29  8:25 ` Qu Wenruo
2016-09-04  4:29   ` Christoph Anton Mitterer
2016-09-05  7:45     ` Qu Wenruo

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=1472355960.16760.9.camel@scientia.net \
    --to=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;
as well as URLs for NNTP newsgroup(s).