From patchwork Mon Jan 19 07:02:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaoguang Wang X-Patchwork-Id: 5655021 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 817A7C058D for ; Mon, 19 Jan 2015 07:08:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7A677202E9 for ; Mon, 19 Jan 2015 07:08:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6CBB420149 for ; Mon, 19 Jan 2015 07:08:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750850AbbASHIA (ORCPT ); Mon, 19 Jan 2015 02:08:00 -0500 Received: from cn.fujitsu.com ([59.151.112.132]:63415 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750728AbbASHIA (ORCPT ); Mon, 19 Jan 2015 02:08:00 -0500 X-IronPort-AV: E=Sophos;i="5.04,848,1406563200"; d="scan'208";a="56254555" Received: from unknown (HELO edo.cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 19 Jan 2015 15:04:21 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (localhost.localdomain [127.0.0.1]) by edo.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id t0J7793q023796; Mon, 19 Jan 2015 15:07:09 +0800 Received: from localhost.localdomain (10.167.226.24) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.181.6; Mon, 19 Jan 2015 15:07:47 +0800 From: Xiaoguang Wang To: , CC: , , , Xiaoguang Wang Subject: [PATCH] ext4/30[23]: ignore EBUSY error Date: Mon, 19 Jan 2015 15:02:35 +0800 Message-ID: <1421650955-29350-1-git-send-email-wangxg.fnst@cn.fujitsu.com> X-Mailer: git-send-email 1.8.2.1 MIME-Version: 1.0 X-Originating-IP: [10.167.226.24] Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP xfstests ext4/302, ext4/303 are ext4 defragmentation stress test, which will ioctl(EXT4_IOC_MOVE_EXT), so EBUSY is expected to happen, for example, when page's corresponding buffer_head's state is BH_Dirty. Signed-off-by: Xiaoguang Wang --- tests/ext4/302 | 2 ++ tests/ext4/303 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/ext4/302 b/tests/ext4/302 index 1e90016..c604c8f 100755 --- a/tests/ext4/302 +++ b/tests/ext4/302 @@ -60,6 +60,8 @@ filesize=${FILE_SIZE} size=999G buffered=0 fadvise_hint=0 +continue_on_error=write +ignore_error=,EBUSY ########################################## # Test2 diff --git a/tests/ext4/303 b/tests/ext4/303 index 9573872..2d01f0f 100755 --- a/tests/ext4/303 +++ b/tests/ext4/303 @@ -60,6 +60,8 @@ filesize=${FILE_SIZE} size=999G buffered=0 fadvise_hint=0 +continue_on_error=write +ignore_error=,EBUSY ################################# # Test3