Re: [bug] btrfs-progs-v4.8.4: test of 'btrfs receive' in xfstests fails

2016-11-29 Thread Tsutomu Itoh
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 stre

Re: [bug] btrfs-progs-v4.8.4: test of 'btrfs receive' in xfstests fails

2016-11-29 Thread David Sterba
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

Re: [bug] btrfs-progs-v4.8.4: test of 'btrfs receive' in xfstests fails

2016-11-29 Thread Oliver Freyermuth
Hi, just to chime in on this: This issue also affects me as a "downstream" user, so it also breaks real-life usecases. I use btrbk for backup, and when performing a regular incremental backup, after switching to btrfs-progs 4.8.4, I get the same "short read from stream" problem. Internally,

[bug] btrfs-progs-v4.8.4: test of 'btrfs receive' in xfstests fails

2016-11-27 Thread Tsutomu Itoh
Hi, David, 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-str