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.
--
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

Reply via email to