From patchwork Mon Jul 31 04:28:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eryu Guan X-Patchwork-Id: 9870841 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 C1464603B4 for ; Mon, 31 Jul 2017 04:28:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B34F528505 for ; Mon, 31 Jul 2017 04:28:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A879928521; Mon, 31 Jul 2017 04:28:48 +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 5956C28515 for ; Mon, 31 Jul 2017 04:28:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750831AbdGaE2r (ORCPT ); Mon, 31 Jul 2017 00:28:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49484 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750709AbdGaE2r (ORCPT ); Mon, 31 Jul 2017 00:28:47 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F0E7B1480B; Mon, 31 Jul 2017 04:28:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com F0E7B1480B Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=eguan@redhat.com Received: from localhost (dhcp-12-173.nay.redhat.com [10.66.12.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7451217C34; Mon, 31 Jul 2017 04:28:46 +0000 (UTC) From: Eryu Guan To: fstests@vger.kernel.org Cc: linux-xfs@vger.kernel.org, Eryu Guan Subject: [PATCH 2/2] common/xfs: add iomap_dio_actor() to the dmesg filter Date: Mon, 31 Jul 2017 12:28:25 +0800 Message-Id: <20170731042825.6250-2-eguan@redhat.com> In-Reply-To: <20170731042825.6250-1-eguan@redhat.com> References: <20170731042825.6250-1-eguan@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 31 Jul 2017 04:28:47 +0000 (UTC) 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 The warning in fs/iomap.c::iomap_dio_actor() could be triggered when mixing dio and mmap I/O on the same sparse file. Several tests could hit this warning now, like generic/095 generic/224 and generic/446. So add this expected warning to whitelist too. Signed-off-by: Eryu Guan Reviewed-by: Brian Foster --- common/xfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/xfs b/common/xfs index 47b4e1ba4b7f..4995f8ba8dd8 100644 --- a/common/xfs +++ b/common/xfs @@ -596,10 +596,12 @@ _filter_xfs_dmesg() local warn4="WARNING:.*fs/xfs/xfs_file\.c:.*xfs_file_aio_read.*" local warn5="WARNING:.*fs/iomap\.c:.*iomap_dio_rw.*" local warn6="WARNING:.*fs/xfs/xfs_aops\.c:.*__xfs_get_blocks.*" + local warn7="WARNING:.*fs/iomap\.c:.*iomap_dio_actor.*" sed -e "s#$warn1#Intentional warnings in xfs_file_dio_aio_write#" \ -e "s#$warn2#Intentional warnings in xfs_file_dio_aio_read#" \ -e "s#$warn3#Intentional warnings in xfs_file_read_iter#" \ -e "s#$warn4#Intentional warnings in xfs_file_aio_read#" \ -e "s#$warn5#Intentional warnings in iomap_dio_rw#" \ - -e "s#$warn6#Intentional warnings in __xfs_get_blocks#" + -e "s#$warn6#Intentional warnings in __xfs_get_blocks#" \ + -e "s#$warn7#Intentional warnings in iomap_dio_actor#" }