Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp374555ybz; Wed, 15 Apr 2020 10:20:45 -0700 (PDT) X-Google-Smtp-Source: APiQypLXa4+hIHIYsXouxPnaxSE0o9yKHxMjPjX4tDsjije0sMEOjNFP24rHobK6JvNjYWPLCG1p X-Received: by 2002:a17:906:400a:: with SMTP id v10mr5838160ejj.300.1586971245208; Wed, 15 Apr 2020 10:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586971245; cv=none; d=google.com; s=arc-20160816; b=Y2M65aCQokPK40oDhrA+cLcEolRth3rBj6y7UUsKs/DantMXIYJMg/LnO05wkEXVta N/H5aN/dIBrsvG+cGpr6ja+1de0VbHCP/2T06hYDFFvTlUVPu3rkILVcJ0EWM1zwUKXi Lbn/CBvZ0CbSz7B7u7y4IZ+l0xKwFilnnyD8Rsmh8aDbL803dFNeZlX97vD6NJlQi61n FFoo1fJXpeNoHqlAhCKupyfFOazS5rHC8QTiNdIS+lxysDB0K4jTEJ0t5GIn65Jh08RR SpS76wCMm26hmYHGsF9GcUugcYFVlLculOczXclFTBYfV4dLYpry1lGdIWXGzl72vxrm Uapw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:to:subject; bh=wxGOF1YDDCOUqveZXzraf9y0RzcE6ItUEKGVggB9nDs=; b=sIBY5tokcvt8sLadHGG6alk87z74dyA/h37z70AFsj9aAgXpIOEbxilf2Z2w7TxY0/ 1GjCsJe9fPPrea4TijILj5+w+F0nQ6eNpuFu/4ax/PL5fOW9flOT0nZVBHJOD3KKBo4o g24NVh8pxQ9t+anwBReSTCal0HBavYJ0qkPXmEL7Np8QkPjLtpxD4k1CjObg0S169bAb lVeAcMrZ9aA94+o0lMQUUdy0kkVWTe2j/csxWv+Mh8iVKC7q799V72utHdz6R6V1T0qs R4a5Tm3zi9NtXkrhNtN6Xx6vWeVLgxWj406lBP7OSyias+sLog+JNIYggrwfuD3DOZIU 2E/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr24si10574931ejb.162.2020.04.15.10.20.07; Wed, 15 Apr 2020 10:20:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404934AbgDNDtM (ORCPT + 99 others); Mon, 13 Apr 2020 23:49:12 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:62208 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404915AbgDNDtM (ORCPT ); Mon, 13 Apr 2020 23:49:12 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03E3Xbi9104112 for ; Mon, 13 Apr 2020 23:49:11 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 30cvwv4bk4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 13 Apr 2020 23:49:11 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 14 Apr 2020 04:48:34 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 14 Apr 2020 04:48:33 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03E3n64J44040392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Apr 2020 03:49:07 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D64D211C058; Tue, 14 Apr 2020 03:49:06 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5CB8211C054; Tue, 14 Apr 2020 03:49:06 +0000 (GMT) Received: from localhost.localdomain (unknown [9.199.32.26]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 14 Apr 2020 03:49:06 +0000 (GMT) Subject: Re: generic/456 regression on 5.7-rc1, 1k test case To: Eric Whitney , linux-ext4@vger.kernel.org References: <20200413201211.wbcotcr6rg523wzs@localhost.localdomain> From: Ritesh Harjani Date: Tue, 14 Apr 2020 09:19:05 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20200413201211.wbcotcr6rg523wzs@localhost.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20041403-0016-0000-0000-000003041CFC X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20041403-0017-0000-0000-0000336810AB Message-Id: <20200414034906.5CB8211C054@d06av25.portsmouth.uk.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-13_11:2020-04-13,2020-04-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 mlxscore=0 clxscore=1015 mlxlogscore=999 priorityscore=1501 malwarescore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004140027 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hello Eric, On 4/14/20 8:22 AM, Ritesh Harjani wrote: > Hello Eric, > > On 4/14/20 1:42 AM, Eric Whitney wrote: >> I'm seeing consistent failures for generic/456 while running >> kvm-xfstests' 1k >> test case on 5.7-rc1.  This is with an x86-64 test appliance root file >> system >> image dated 23 March 2020. >> >> The test fails when e2fsck reports "inconsistent fs: inode 12, i_size is >> 147456, should be 163840". >> >> Bisecting 5.7-rc1 identified the following patch as the cause: >> ext4: don't set dioread_nolock by default for blocksize < pagesize >> (626b035b816b).  Reverting the patch in 5.7-rc1 reliably eliminates >> the test >> failure. >> > > Since you could reliably reproduce it. Could you please try with this > patch and see if this fixes it for you? > > https://patchwork.ozlabs.org/project/linux-ext4/patch/20200331105016.8674-1-jack@suse.cz/ Ok, so after updating the xfstests to latest, I could reliably reproduce generic/456 failing on x86 with 1K blocksize on my setup too. Although, with my limited testing, I couldn't see this issue on Power (where blocksize == 4K and PAGESIZE=64K). But either ways, after applying above patch the tests always passes for me (tested on x86). So this should indeed fix your reported problem. Saw an email too that Ted has now picked up this patch. -ritesh