From: "Stéphane Lesimple" <stephane_btrfs2@lesimple.fr>
To: fdmanana@gmail.com
Cc: "Craig Andrews" <candrews@integralblue.com>,
"linux-btrfs" <linux-btrfs@vger.kernel.org>
Subject: Re: Regression in Linux 5.5.0-rc[1-5]: btrfs send/receive out of memory
Date: Mon, 27 Jan 2020 20:08:29 +0000 [thread overview]
Message-ID: <0a47ec399b812248c20be4933eaa6195@lesimple.fr> (raw)
In-Reply-To: <CAL3q7H4-3Mg2GUf2JMMFem77sSQR5opN9dxdvHz2kk1Qd=RD=A@mail.gmail.com>
>> # btrfs send -v /tank/backups/.snaps/incoming/sendme/ | pv 2>/dev/pts/23 | btrfs rec -E 0 /newfs/
>> At subvol /tank/backups/.snaps/incoming/sendme/
>> At subvol sendme
>> ERROR: failed to clone extents to retroarch/x86_64/cores/mednafen_saturn_libretro.dll: Invalid
>> argument
>> ERROR: failed to clone extents to retroarch/x86_64/cores/mednafen_saturn_libretro.dll: Invalid
>> argument
>
> This is probably the same case for which I sent a fix last week:
>
> https://patchwork.kernel.org/patch/11350129
This seems very likely, as there is indeed a hole in the middle of the file:
0: ram 80000 disk(0) 25871fb42000:00000000-00080000 disk_sz 80000
80000: ram 80000 disk(0) 258720475000:00000000-00080000 disk_sz 80000
100000: ram 80000 disk(0) 2587215d4000:00000000-00080000 disk_sz 80000
180000: ram 80000 disk(0) 258721654000:00000000-00080000 disk_sz 80000
200000: ram 80000 disk(0) 25872177c000:00000000-00080000 disk_sz 80000
280000: ram 80000 disk(0) 258722383000:00000000-00080000 disk_sz 80000
300000: ram 80000 disk(0) 258722544000:00000000-00080000 disk_sz 80000
380000: ram 80000 disk(0) 25871c3a8000:00000000-00080000 disk_sz 80000
400000: ram 80000 disk(0) 25871c428000:00000000-00080000 disk_sz 80000
480000: ram 80000 disk(0) 25871c548000:00000000-00080000 disk_sz 80000
500000: ram 80000 disk(0) 25871cf02000:00000000-00080000 disk_sz 80000
580000: ram 80000 disk(0) 25871cf82000:00000000-00080000 disk_sz 80000
600000: ram 80000 disk(0) 25871d41f000:00000000-00080000 disk_sz 80000
680000: ram 80000 disk(0) 25871d833000:00000000-00080000 disk_sz 80000
700000: ram b000 disk(0) b9e86aeb000:00000000-0000b000 disk_sz b000
70b000: ram 11000 disk(0) 0:00000000-00011000 disk_sz 0 -- hole
71c000: ram 80000 disk(0) 25871eb75000:00000000-00080000 disk_sz 80000
79c000: ram 1000 disk(0) a00b6523000:00000000-00001000 disk_sz 1000
79d000: ram 1000 disk(0) a00b6cf5000:00000000-00001000 disk_sz 1000
79e000: ram 1000 disk(0) a00b6cf5000:00000000-00001000 disk_sz 1000
79f000: ram 1000 disk(0) a00b6cf5000:00000000-00001000 disk_sz 1000
7a0000: ram 1000 disk(0) a00b6d42000:00000000-00001000 disk_sz 1000
7a1000: ram 1000 disk(0) a9573bfa000:00000000-00001000 disk_sz 6000
7a2000: ram 1000 disk(0) a9573bfa000:00000000-00001000 disk_sz 6000
7a3000: ram 6000 disk(0) a9573bfa000:00000000-00006000 disk_sz 6000
7a9000: ram 1000 disk(0) af4f6240000:00000000-00001000 disk_sz 2d000
7aa000: ram 1000 disk(0) af4f6240000:00000000-00001000 disk_sz 2d000
7ab000: ram 2d000 disk(0) af4f6240000:00000000-0002d000 disk_sz 2d000
7d8000: ram 1000 disk(0) 1c8d313ba000:0001d000-0001e000 disk_sz 80000
7d9000: ram 43000 disk(0) a983253d000:00000000-00043000 disk_sz 43000
81c000: ram 80000 disk(0) 258721f18000:00000000-00080000 disk_sz 80000
89c000: ram 80000 disk(0) 258721f98000:00000000-00080000 disk_sz 80000
91c000: ram 80000 disk(0) 258722018000:00000000-00080000 disk_sz 80000
99c000: ram 80000 disk(0) 2587229a2000:00000000-00080000 disk_sz 80000
a1c000: ram d000 disk(0) bfa6df44000:00000000-0000d000 disk_sz e000
a29000: ram 1000 disk(0) 130963b99000:00a29000-00a2a000 disk_sz a2a000
file: mednafen_saturn_libretro.dll extents 29 disk size 21741568 logical size 10653836 ratio 0.49
Thanks!
--
Stéphane.
next prev parent reply other threads:[~2020-01-27 20:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 12:41 Regression in Linux 5.5.0-rc[1-5]: btrfs send/receive out of memory Craig Andrews
2020-01-13 13:37 ` David Sterba
2020-01-13 14:48 ` Craig Andrews
2020-01-15 18:44 ` Craig Andrews
2020-01-21 2:18 ` Craig Andrews
2020-01-25 11:08 ` Stéphane Lesimple
2020-01-27 13:44 ` Filipe Manana
2020-01-27 20:08 ` Stéphane Lesimple [this message]
2020-01-28 14:46 ` Craig Andrews
2020-01-28 15:02 ` Filipe Manana
2020-01-28 15:05 ` Craig Andrews
2020-01-28 15:08 ` Filipe Manana
2020-01-28 17:33 ` Filipe Manana
2020-01-28 17:31 ` David Sterba
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=0a47ec399b812248c20be4933eaa6195@lesimple.fr \
--to=stephane_btrfs2@lesimple.fr \
--cc=candrews@integralblue.com \
--cc=fdmanana@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox