From patchwork Wed Jul 29 14:53:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 11691131 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0BF3B138C for ; Wed, 29 Jul 2020 14:53:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E768B22B43 for ; Wed, 29 Jul 2020 14:53:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="KLco9oax" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbgG2Oxb (ORCPT ); Wed, 29 Jul 2020 10:53:31 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:45982 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726868AbgG2Oxb (ORCPT ); Wed, 29 Jul 2020 10:53:31 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06TEploH171574; Wed, 29 Jul 2020 14:53:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : mime-version : content-type; s=corp-2020-01-29; bh=HYMLPtLLGuUWYX33MUqaKnosX5TJtR8Zs2Hf2VT4jQ4=; b=KLco9oaxzr+ywdGg3QbfmJYD7XYScSlR+Aig2jmEEv+mhOYlCagExWFh/BaOFnV3KP9Y Xhw3aAVNH5Xa6+4xKBZ8rKDdWKXdxZIrT/DsFUEkqrS3cmfYC4qWdb57NJupKi3J9BlH Vz4t2HmMQy6TqoLvPRvt56QszScqzCEN2qBQJwKXhufoYh0zZkiN6Hr6U43eOeHhhVjS dJJ+uG18y+OPNz2zdNFjQ1k76oBKwPeWcb1jUbBK7/MbiWqjZT5vU/JGu88csP86LEMb v+5hLo9tAnTylKwvjXBt7QZSEmweLeQjZ38yvGTNoDFqhdrmdEs9Fw3KFufz7mtJtvFw 3Q== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 32hu1je3hn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Jul 2020 14:53:28 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06TEmU9n117137; Wed, 29 Jul 2020 14:53:28 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 32hu5x5ebb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Jul 2020 14:53:27 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06TErRgM030350; Wed, 29 Jul 2020 14:53:27 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 29 Jul 2020 07:53:27 -0700 Date: Wed, 29 Jul 2020 07:53:22 -0700 From: "Darrick J. Wong" To: Eryu Guan Cc: zlang@redhat.com, fstests Subject: [PATCH] xfs/030: repair should actually find the zeroed block pointer in the agfl Message-ID: <20200729145322.GZ7600@magnolia> MIME-Version: 1.0 Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9697 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 adultscore=0 bulkscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007290100 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9697 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 clxscore=1015 mlxscore=0 impostorscore=0 phishscore=0 adultscore=0 suspectscore=1 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007290101 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org From: Darrick J. Wong In xfs/030, at some point we zero the entire AGFL. Repair should really find and complain about the AGFL list item that points to the AG superblock. Signed-off-by: Darrick J. Wong --- tests/xfs/030.out | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/xfs/030.out b/tests/xfs/030.out index 4a7c4b8b..53299438 100644 --- a/tests/xfs/030.out +++ b/tests/xfs/030.out @@ -105,6 +105,7 @@ Phase 1 - find and verify superblock... Phase 2 - using log - zero log... - scan filesystem freespace and inode maps... +bad agbno AGBNO in agfl, agno 0 - found root inode chunk Phase 3 - for each AG... - scan and clear agi unlinked lists...