Hi Rory, my kernel is slightly different, but the send-receive kernel code that I use is on the same commit. However, the issue you are hitting is most probably not a kernel issue. The receive part works totally in user-space. To confirm that, maybe you can post somewhere the full- and diff-streams that you generate: instead of piping to "btrfs receive", pls redirect it into some file (like /tmp/full_stream and /tmp/diff_stream) and post the files. Not sure how sensitive is the content of your files or how big the stream is - it might be not possible for you to do this. I suspect there is some issue with finding subvolume paths relative to your mount root. If possible, pls post "cat /proc/mounts" and also the output of "mount" command. Finally, it might be useful to post strace outputs of the failing receives. To do this, please redirect the stream into some file first, and then receive from this file (and not in one step like you are doing) under strace. Next step, I will probably send you a patch with some prints. Hope in a few iterations we can find the issue (unless you give up:). Thanks, Alex. On Thu, Oct 11, 2012 at 4:56 PM, Rory Campbell-Lange <rory@xxxxxxxxxxxxxxxxxx> wrote: > On 11/10/12, Alex Lyakas (alex.btrfs@xxxxxxxxxxxxxxxxx) wrote: >> Hi Rory, >> all your tests work perfectly for me (really, I swear:)), with exact >> same mount points and subvol/snap/dir names. >> Just to make that the patch some how did not get messed up in the >> mail, I attach it. > > ... happy to try things further. Please confirm your btrfs/kernel > version. I'm on > > 5c4e935f44e1aace28988fdc06f233ef5c184103 refs/heads/send-recv > > Cheers > Rory > > -- > Rory Campbell-Lange > rory@xxxxxxxxxxxxxxxxxx > > Campbell-Lange Workshop > www.campbell-lange.net > 0207 6311 555 > 3 Tottenham Street London W1T 2AF > Registered in England No. 04551928 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
