All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuxuan Shui <yshuiv7@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: btrfs receive fails with "failed to clone extents"
Date: Wed, 22 Sep 2021 20:37:40 +0100	[thread overview]
Message-ID: <CAGqt0zz9YrxXPCCGVFjcMoVk5T4MekPBNMaPapxZimcFmsb4Ww@mail.gmail.com> (raw)

Hi,

The problem is as the title states. Relevant logs from `btrfs receive -vvv`:

  mkfile o119493905-1537066-0
  rename o119493905-1537066-0 ->
shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include/zstd.h
  utimes shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include
  clone shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include/zstd.h
- source=shui/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.6.1+zstd.1.5.0/zstd/lib/zstd.h
source offset=0 offset=0 length=131072
  ERROR: failed to clone extents to
shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include/zstd.h:
Invalid argument

stat of shui/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.6.1+zstd.1.5.0/zstd/lib/zstd.h,
on the receiving end:

  File: /mnt/backup/home/backup-32/shui/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.6.1+zstd.1.5.0/zstd/lib/zstd.h
  Size: 145904 Blocks: 288 IO Block: 4096 regular file

Looks to me the range of clone is within the boundary of the source
file. Not sure why this failed?

Sending end has 5.14.6 and btrfs-progs 5.14, receiving end has 5.14.6
and btrfs-progs 5.13.1

-- 

Regards
Yuxuan Shui

             reply	other threads:[~2021-09-22 19:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 19:37 Yuxuan Shui [this message]
2021-09-22 23:24 ` btrfs receive fails with "failed to clone extents" Qu Wenruo
2021-09-23  1:34   ` Yuxuan Shui
2021-09-23  1:40     ` Yuxuan Shui
2021-09-23  2:32       ` Qu Wenruo
     [not found]         ` <CAGqt0zz+=nUYbNwLSPYwzYcNLgyxsWT22p+jwwFpAOcyAHAWgA@mail.gmail.com>
2021-09-23  9:27           ` Fwd: " Yuxuan Shui
     [not found]           ` <e83029f0-8583-91b9-47c8-a99d4b00a6ae@gmx.com>
2021-09-23  9:38             ` Yuxuan Shui
2021-09-23  9:43               ` Yuxuan Shui
2021-09-23  9:44                 ` Qu Wenruo
2021-09-23 10:08                   ` Yuxuan Shui
2021-09-23 10:19                     ` Qu Wenruo
2021-09-23 10:46                       ` Filipe Manana
2021-09-23 11:16                         ` Qu Wenruo
2021-09-23 11:24                           ` Filipe Manana
2021-09-24  9:47                           ` Yuxuan Shui
2021-09-24  9:57                             ` Qu Wenruo
2021-09-23  9:27     ` Graham Cobb
2021-09-23  9:40       ` Yuxuan Shui
2021-09-23 10:13 ` Filipe Manana

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=CAGqt0zz9YrxXPCCGVFjcMoVk5T4MekPBNMaPapxZimcFmsb4Ww@mail.gmail.com \
    --to=yshuiv7@gmail.com \
    --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 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.