xfs
[Top] [All Lists]

Re: [PATCH] xfstests: add regression test for kernel bz 60673 V2

To: Stefan Behrens <sbehrens@xxxxxxxxxxxxxxxx>
Subject: Re: [PATCH] xfstests: add regression test for kernel bz 60673 V2
From: Josef Bacik <jbacik@xxxxxxxxxxxx>
Date: Tue, 20 Aug 2013 09:50:17 -0400
Cc: Josef Bacik <jbacik@xxxxxxxxxxxx>, <linux-btrfs@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1377006619; bh=8/F46oFNV8sW3dUkh4Hv96A3x1GEgzAIv499UYpreyc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=qDq/08whrLGR37YVN6i34x/+bEj1rQfqZ0HLX28o/ojxuwKgeOkJ9RgN0tJNR79dY DpEzdxzZKPdFqEHznJq4NpbF0F1sehQQ3fsM+tPjvtqHnzA9dvS7Hn87QcnwslMCMM G1lSV8Q4ua6t+dbmL/CUU+ANF69WzTDxJ9/voCc4=
In-reply-to: <5213338D.3000205@xxxxxxxxxxxxxxxx>
References: <1376945597-2202-1-git-send-email-jbacik@xxxxxxxxxxxx> <5213338D.3000205@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2011-07-01)
On Tue, Aug 20, 2013 at 11:14:53AM +0200, Stefan Behrens wrote:
> On Mon, 19 Aug 2013 16:53:17 -0400, Josef Bacik wrote:
> > There was a problem with send trying to overwrite a file that wasn't 
> > actually
> > the same.  This is a test to check this particular case where receive fails 
> > when
> > it should succeed properly.  I tested this to verify it fails without my 
> > fix and
> > passes with my fix.  Thanks,
> 
> I tested this xfstest but for me it passes with and without the fix
> ("Btrfs: check our parent dir when doing a compare send").
>

Try again, I just tested myself and got

[root@destiny xfstests-dev]# cat /root/xfstests-dev/results//btrfs/010.full
Create subvolume '/mnt/btrfs-test/send_temp_010/send'
Create a readonly snapshot of '/mnt/btrfs-test/send_temp_010/send' in
'/mnt/btrfs-test/send_temp_010/snap1'
At subvol /mnt/btrfs-test/send_temp_010/snap1
At subvol snap1
Create a readonly snapshot of '/mnt/btrfs-test/send_temp_010/send' in
'/mnt/btrfs-test/send_temp_010/snap2'
At subvol /mnt/btrfs-test/send_temp_010/snap2
At snapshot snap2
ERROR: rename test/foo -> o260-953-0 failed. No such file or directory
failed second receive

Thanks,

Josef 

<Prev in Thread] Current Thread [Next in Thread>