Hi David, On 2016/11/30 0:34, David Sterba wrote: > On Mon, Nov 28, 2016 at 04:27:06PM +0900, Tsutomu Itoh wrote: >> Many test of xfstests such as btrfs/007, btrfs/008 and btrfs/016 failed >> with the following patch. >> >> fefbab75 btrfs-progs: send-stream: check number of read bytes from stream >> >> This is because cmds-receive.c:do_receive() make a judgement of the end >> of stream by returning 1 from send-stream.c:read_buf(). >> So, when applying this patch, 'btrfs receive' will always output the >> following message at the end of stream. >> >> ERROR: short read from stream: expected 17 read 0 > > Thanks for the report, should be fixed in devel, I'm also adding more > tests.
I tried devel branch, btrfs/007 works fine. Thanks for your work. But I found another problem in current devel branch. btrfs/008, btrfs/016 etc. fail due to the following patch, probably. btrfs-progs: rework option parser to use getopt for global options Thanks, Tsutomu -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html