From patchwork Fri Sep 2 13:55:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 9313065 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 601FD60760 for ; Mon, 5 Sep 2016 05:26:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 540B9287DE for ; Mon, 5 Sep 2016 05:26:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 488D028961; Mon, 5 Sep 2016 05:26:09 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 C287D287DE for ; Mon, 5 Sep 2016 05:26:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755182AbcIEF0H (ORCPT ); Mon, 5 Sep 2016 01:26:07 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:55416 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754868AbcIEF0E (ORCPT ); Mon, 5 Sep 2016 01:26:04 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="10599944" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 05 Sep 2016 13:25:57 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id D6B264042409 for ; Mon, 5 Sep 2016 13:25:53 +0800 (CST) Received: from localhost.localdomain (10.167.220.69) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.279.2; Mon, 5 Sep 2016 13:25:56 +0800 From: Xiao Yang To: CC: Xiao Yang Subject: [PATCH] ext4/021: add -F flag for xfs_io Date: Fri, 2 Sep 2016 21:55:35 +0800 Message-ID: <1472824535-24928-1-git-send-email-yangx.jy@cn.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.167.220.69] X-yoursite-MailScanner-ID: D6B264042409.A7184 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: yangx.jy@cn.fujitsu.com Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP xfs_io needs -F flag to write data in non-XFS filesystem on xfsprogs 3.1.1. The -F flag has been removed from usage() & man pages since xfsprogs 3.1.8, but is still accepted. Please see the following commit d1b8818 ("xfs_io: deprecate the "-F" foreign flag") Signed-off-by: Xiao Yang --- tests/ext4/021 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ext4/021 b/tests/ext4/021 index d758818..f82d7fb 100755 --- a/tests/ext4/021 +++ b/tests/ext4/021 @@ -80,7 +80,7 @@ fi # disk, the s_squence offset to the beginning of journal superblock is 24 # we do this to let jbd2 start to run with a initial big transaction id, # which will reduce the time taken to trigger this bug. -xfs_io -c "pwrite -S 0x81 $((offset+24)) 1" \ +xfs_io -F -c "pwrite -S 0x81 $((offset+24)) 1" \ -c "pwrite -S 0xd1 $((offset+25)) 1" \ -c "pwrite -S 0xa4 $((offset+26)) 1" \ -c "pwrite -S 0x80 $((offset+27)) 1" $SCRATCH_DEV >> $seqres.full 2>&1