Created attachment 145321 [details] dmesg 3.16.0-1.fc21.x86_64 Summary: Midway through btrfs send/receive, the process fails with memory errors. Command and result: # btrfs send /mnt/320G/2012april_HDD_fullbackup.ro.0/ | btrfs receive /mnt/500G/ At subvol /mnt/320G/2012april_HDD_fullbackup.ro.0/ At subvol 2012april_HDD_fullbackup.ro.0 ERROR: send ioctl failed with -12: Cannot allocate memory ERROR: unexpected EOF in stream. Versions: kernel-3.16.0-1.fc21.x86_64 btrfs-progs-3.14.2-3.fc21.x86_64 Both the source and destination Btrfs were created in the past 24 hours with the above version kernel and progs. Reproduce steps: 1. A long time ago in April 2012 a subvolume was made into a btrfs send output file. 2. Today that file was received onto new Btrfs volume "320G" which was successful, no errors. 3. The resulting ro subvolume was send/received to new Btrfs volume "500G"; about 25G into a 115G transfer, the failure occurs. Reproducible: Unknown. Trying again right now with Fedora debug kernel (although I don't think it has any Btrfs specific debugging in it, it does have some memory debugging enabled and it could be related to that.) So far the transfer has gone past the point of the previous failure, attaching a dmesg from the original failure (not a debug kernel).
Created attachment 145331 [details] dmesg 3.16.0-1.fc21.x86_64+debug Just happened with debug kernel, but I'm not seeing new information.
Is not reproducible with 3.14.15-100.fc19.x86_64.