From patchwork Tue Jan 29 16:17:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10786567 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE4DB1390 for ; Tue, 29 Jan 2019 16:17:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB6142D2DB for ; Tue, 29 Jan 2019 16:17:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE4A22D320; Tue, 29 Jan 2019 16:17:18 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, 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 6EFC82D2DB for ; Tue, 29 Jan 2019 16:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725828AbfA2QRR (ORCPT ); Tue, 29 Jan 2019 11:17:17 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:46306 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbfA2QRR (ORCPT ); Tue, 29 Jan 2019 11:17:17 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x0TGDoZj187388; Tue, 29 Jan 2019 16:17:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : mime-version : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=q4wtq6bnZ0/dOJE+nx/tGhbK4eTsqNaMWjTGjWU6QAA=; b=LNMoScuUE0foG4gurOWQSQ4FRsSEv4j4fvStOj29onJk96eREj61uJDsyeib7DEkKrgh mo7dvMEyjn64rzN1U/ItaevtAQqRKlAHPAuCGfFNQ96Sba/OcvNLE5LFkEKMdy3EcucU YPXKL2B+EzSLSukKocU7WeC0/ZQ6VzvttdvqLlrYwXvxtC+qCg5oXTq40K4kDGm5PklG qPSy/HqybulXy9Qgq/LimMqOrLg4eBgYhAPW1MffYYpN0aJZOKhW9E3RZ5bd9xjF/+z9 EBlHr+KUUJ0bk8gUtbkV/x8InXt/gyHg5n/2gNsv0lAVZx757CJEmUUoNWiKg6EAfAoL +g== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2q8d2e5m7d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Jan 2019 16:17:15 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x0TGHEIw023679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Jan 2019 16:17:14 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x0TGHEhg026401; Tue, 29 Jan 2019 16:17:14 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Jan 2019 08:17:13 -0800 Subject: [PATCH 1/4] xfs/093: make sure the scratch directory still exists after repair From: "Darrick J. Wong" To: guaneryu@gmail.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Date: Tue, 29 Jan 2019 08:17:12 -0800 Message-ID: <154877863279.9277.4463697450629081138.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9150 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=994 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901290122 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong Make sure that we still have the scratch directory after repairing our corrupted filesystem, because repair could have nuked it. Signed-off-by: Darrick J. Wong --- tests/xfs/093 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/xfs/093 b/tests/xfs/093 index 2b16020c..2dfad39d 100755 --- a/tests/xfs/093 +++ b/tests/xfs/093 @@ -97,6 +97,7 @@ $CHATTR_PROG -R -f -i "${SCRATCH_MNT}/" echo "+ modify files (2)" broken=0 +mkdir -p "${TESTDIR}" for x in `seq 65 70`; do touch "${TESTFILE}.${x}" || broken=1 done