From patchwork Wed Jul 4 04:51:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10505845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 02F31602BC for ; Wed, 4 Jul 2018 04:51:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E216928C40 for ; Wed, 4 Jul 2018 04:51:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D661328C68; Wed, 4 Jul 2018 04:51:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8319728C77 for ; Wed, 4 Jul 2018 04:51:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750855AbeGDEv3 (ORCPT ); Wed, 4 Jul 2018 00:51:29 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:42790 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932204AbeGDEv3 (ORCPT ); Wed, 4 Jul 2018 00:51:29 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w644mmMV034760; Wed, 4 Jul 2018 04:51:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=8XQDJf4tAik5Lw8hQCZFA7tHzu11CMNfOIrf3huZgw8=; b=KtKVfGQV0bJZY8nsgGtPr7OQzadDyPtdPgTrAfAB2DOKRIjf6Q1E8hA+PH6WOl4C85aG P/S+zxn++SpYVbXhbmUWNFzTkpKDruyNTkrVys+FF1ALVib7/YTnY5q4BzKUrzYyyUwF 25QtsSxICSaOB39H/WGiPPWVHiSCyVlaWa0MAp5CbWhLCDKQ47HCCu3caYSYqPBGZ2f4 B2FikkjqhffwPUSBiqhP52ePmOgpC43HQysSmp47wq5rQK6gMepgiUR8zaQ6iI51ztHR wo4m0QRDAkYgrdED/pjgKErDKPTYo95JeX6nQ13VL9XBB90dfgda/i143eFHZaRDNoIs CA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2k0dnjh8qj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Jul 2018 04:51:27 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w644pQ0j006056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Jul 2018 04:51:26 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w644pQXu005138; Wed, 4 Jul 2018 04:51:26 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 03 Jul 2018 21:51:26 -0700 Subject: [PATCH 6/7] generic/338: don't check fs after crashing it From: "Darrick J. Wong" To: guaneryu@gmail.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Date: Tue, 03 Jul 2018 21:51:25 -0700 Message-ID: <153067988515.28393.2889741998889842120.stgit@magnolia> In-Reply-To: <153067984748.28393.1595618163831671652.stgit@magnolia> References: <153067984748.28393.1595618163831671652.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8943 signatures=668704 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=665 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807040056 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong This test tries to make the filesystem go down by setting up dm-error and committing metadata updates. Since the test doesn't remount the fs after it goes down to recover the log, this can result in a dirty log being presented to the post-test filesystem check if the filesystem is xfs and quotas are enabled. Since this is a regression test for a NULL pointer dereference in the kernel after the fs goes down, simply skip the post-test fsck. Signed-off-by: Darrick J. Wong --- tests/generic/338 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/generic/338 b/tests/generic/338 index 6d701e83..81122e2d 100755 --- a/tests/generic/338 +++ b/tests/generic/338 @@ -36,7 +36,7 @@ rm -f $seqres.full # real QA test starts here _supported_fs generic _supported_os Linux -_require_scratch +_require_scratch_nocheck # fs went down with a dirty log, don't check it _require_dm_target error # If SCRATCH_DEV is not a valid block device, FSTYP cannot be mkfs'ed either _require_block_device $SCRATCH_DEV