Return-Path: Received: from mx2.suse.de ([195.135.220.15]:56487 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbeAVP2y (ORCPT ); Mon, 22 Jan 2018 10:28:54 -0500 Date: Mon, 22 Jan 2018 16:26:43 +0100 From: David Sterba To: Anand Jain Cc: dsterba@suse.cz, linux-btrfs@vger.kernel.org Subject: Re: [PATCH RESEND v4 0/4] device_list_add() peparation to add reappearing missing device Message-ID: <20180122152642.GG15713@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <20180118140236.25349-1-anand.jain@oracle.com> <20180118174717.GT13726@twin.jikos.cz> <20180119232756.GB15713@twin.jikos.cz> <334ef632-a913-372b-a91b-826278329fc3@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <334ef632-a913-372b-a91b-826278329fc3@oracle.com> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Mon, Jan 22, 2018 at 09:31:47PM +0800, Anand Jain wrote: > Problem was mainly due to the patch 3/4, which tried to access the > return pointer even for the failed condition. The fix is to bring the > device point access under the else part as show below [2]. I have > included this fix in V5. Which is tested with btrfs xfstests. > Pls could you consider v5 for 4.16 ? Hm ok, thre's still some time to test it. One more fstests report that appeared before and also with the v5: btrfs/007 4s ... [16:38:09] [16:38:12] [failed, exit status 1] - output mismatch (see /root/test/mmtests/work/sources/xfstests-git-installed/results//btrfs/007.out.bad) --- tests/btrfs/007.out 2017-09-20 14:24:58.334716658 +0200 +++ /root/test/mmtests/work/sources/xfstests-git-installed/results//btrfs/007.out.bad 2018-01-22 16:38:12.883931593 +0100 @@ -1,4 +1,5 @@ QA output created by 007 *** test send / receive -*** done +failed: '/root/test/mmtests/work/sources/xfstests-git-installed/src/fssum -r /tmp/tmp.eZcr17wqNn/incr.fssum /root/test/mmtests/scratch_mnt/incr' +(see /root/test/mmtests/work/sources/xfstests-git-installed/results//btrfs/007.full for details) *** unmount ... (Run 'diff -u tests/btrfs/007.out /root/test/mmtests/work/sources/xfstests-git-installed/results//btrfs/007.out.bad' to see the entire diff)