Received: by 10.223.164.221 with SMTP id h29csp3498102wrb; Mon, 30 Oct 2017 23:55:50 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RAYRpvtq1ocgFwhUyxNyuhCcG42Hh4oqQpBoettDd8sVUDRMHD2Lu/UvFLurEtAzUJYli/ X-Received: by 10.98.194.193 with SMTP id w62mr1019356pfk.67.1509432950028; Mon, 30 Oct 2017 23:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509432949; cv=none; d=google.com; s=arc-20160816; b=OuIaa0zutMhIenLIBrfjkxwVNlnZ255rLPRAi3+AqjX7xY2a48esQAyGGUgG/G+giI FNkV1gx9HEe2ccp1EA2B8SvLbG8jOs3ZEIjPdiE5KLsMFGBQvzhSgrlmJvBENTsQIWjN 6MRBPmb77HVvu5LtCiAdxqY40IsGanOYfWOXWoOFFdq0wyPKzIh0JhGnQf6yW/QUZBkS Yyya23xKtXJzGriWA4AlBvYO2dcxW9P7jNDiOw8z/RN/af/tK4iwyGioLtcermycAyuX PRsbog65pbxd4uiQaR8EFtsQh/NFBYaDAsKTwo+CiljORwE47DxOMCpbPbpB//DYVTko 9+3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=HiH5wD3CSFWgC/kxYwYXILtt816lUf4Axa6bG82jWMY=; b=ypX2X9gfX9qbE8MNUmObsEtPYDLgoqP/H1INP2U/uRY3Ockio/sqiz5JXp13s0fBZn auDcBIaQkmuff7GBHoXbjAeIiWQgxfqFrBOa11pEyKqKTsozF92jUC5piea5Gqos7NoQ o7hSe5h18BaTabqV3OAup7EzpBl2pZrI6r+NW8rX2oo/N5MHJqdcX4m1MFNaJHo5Cl6z Vz0rlD5CYLLXf40Gs63NBeBHSwyGAkPM3j8MNRiBQHpnBEsycz0E5D9WLIlupe0lRb83 24xf9FSSBGDgXk3TKqi6smPAPwNoVRX/OCQuqj32f5oiUjOVJt9mlbbDddWI4vVClDMj io6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hPGzneGW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m23si811121pgc.492.2017.10.30.23.55.25; Mon, 30 Oct 2017 23:55:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hPGzneGW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752516AbdJaGyY (ORCPT + 99 others); Tue, 31 Oct 2017 02:54:24 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:44604 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbdJaGyX (ORCPT ); Tue, 31 Oct 2017 02:54:23 -0400 Received: by mail-qt0-f194.google.com with SMTP id 8so19497318qtv.1; Mon, 30 Oct 2017 23:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HiH5wD3CSFWgC/kxYwYXILtt816lUf4Axa6bG82jWMY=; b=hPGzneGWaKbxs+sNSfimS09wxnX9XIHLnFVLgO+Ur/oSVPQTXrtXXO/zVUFvbQWSAL SrHHFQXPjqjhoOpuLTZJ7OaB9nrazWTlxiIVYBAerqICM0zx4uTol4C7yqA3ndRc+Mcl EPmz6HbqmNVLQjuYdvTUU2y0yy6V4uoOmaOpQgdxB4Eki2+3QCCmn7v/3HEa4/YFxQ5Y acIxeFJ5XrRNc4SwspxAbmn12pe8dnE72C653Rwt7ZbqY2/WaaZuNvbrDW8WpsBL3I/W Riw3DHlKJkCz+gSYhPXBbW4fVKT37tV2QOJGpTNygjsyA9FQ8iW6hNZT1dz5EAb5LvoE 2q2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HiH5wD3CSFWgC/kxYwYXILtt816lUf4Axa6bG82jWMY=; b=hT/pxgsa0zGfufnFcf1zCTyoECpmNmDbAqy94clP5LYVpzucGRfjjhJ1GPtvX6+s+8 y6g/ySxRVQ5IoH6dmpF/ogRB6EZeCeLP1PPOozsNKT6nY/Q9SE2LKtjISofIoL0LfJh8 wwAcdvoyjh0vMCe6415SPyaeDcA6ZWuT7JX1Oj+xz0KuRRxrU4VVWyjyNNjuJBZHDF3p ZN+UXJ88Abug7Rpf+VWup+lUGkilnQ2mmAAQXdkLopHT+YgUDr9DLxQYsAFgijNy7AEN Q6FlH1PUk131EEaTsT9YVnSUDgpK55E/VG8YjVwsWYok1UXcRML0Tg9mcI1I8chWvXy2 0cVQ== X-Gm-Message-State: AMCzsaVI6hkuGWe8kTj5IydFQ94EE7UAyhtlfI1H+PuFwLFCWJS/Hbhy 2JgslslGvH0+FlBY/b9COok= X-Received: by 10.200.52.235 with SMTP id x40mr1254980qtb.135.1509432862255; Mon, 30 Oct 2017 23:54:22 -0700 (PDT) Received: from localhost (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id m6sm467673qti.14.2017.10.30.23.54.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Oct 2017 23:54:21 -0700 (PDT) Date: Tue, 31 Oct 2017 14:54:17 +0800 From: Eryu Guan To: Fengguang Wu Cc: Lukas Czerner , Jan Kara , "Darrick J. Wong" , Jeff Moyer , Jens Axboe , Linus Torvalds , Linux Kernel Mailing List , linux-fsdevel Subject: Re: [btrfs] WARNING: CPU: 0 PID: 6379 at fs/direct-io.c:293 dio_complete+0x1d4/0x220 Message-ID: <20171031065417.GD3283@eguan.usersys.redhat.com> References: <20171029225155.qcum5i75awrt5tzm@wfg-t540p.sh.intel.com> <20171030072021.gcgpaolo5m3myuln@wfg-t540p.sh.intel.com> <20171030074429.GC3283@eguan.usersys.redhat.com> <20171031001041.5qjzn5pjertpdc3e@wfg-t540p.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171031001041.5qjzn5pjertpdc3e@wfg-t540p.sh.intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 31, 2017 at 01:10:41AM +0100, Fengguang Wu wrote: > Hi Eryu, > > On Mon, Oct 30, 2017 at 03:44:29PM +0800, Eryu Guan wrote: > > Hi Fengguang, > > > > On Mon, Oct 30, 2017 at 08:20:21AM +0100, Fengguang Wu wrote: > > > CC fsdevel. > > > > > > On Sun, Oct 29, 2017 at 11:51:55PM +0100, Fengguang Wu wrote: > > > > Hi Linus, > > > > > > > > Up to now we see the below boot error/warnings when testing v4.14-rc6. > > > > > > > > They hit the RC release mainly due to various imperfections in 0day's > > > > auto bisection. So I manually list them here and CC the likely easy to > > > > debug ones to the corresponding maintainers in the followup emails. > > > > > > > > boot_successes: 4700 > > > > boot_failures: 247 > > > > > > [...] > > > > > > > WARNING:at_fs/direct-io.c:#dio_complete: 7 > > > > WARNING:at_fs/iomap.c:#iomap_dio_complete: 3 > > > > WARNING:at_fs/iomap.c:#iomap_dio_rw: 1 > > > > > > The first warning happens on btrfs and is bisected to this commit. > > > The other 2 warnings happen on xfs. > > > > I noticed that the warnings are triggered by generic/095 and > > generic/208, they're known to generate such warnings and I think these > > warnings are kind of 'known issue', please see comments above > > _filter_aiodio_dmesg() in fstests/common/filter. > > > > Please make sure your local fstests contains the following 3 commits: > > > > ca93e26865ab common: move _filter_xfs_dmesg() to common/filter > > 5aa662733ab0 common: turn _filter_xfs_dmesg() into _filter_aiodio_dmesg() > > 228aee780f13 generic/036,208: whitelist [iomap_]dio_complete() WARNs > > OK. > > > we filtered out such warnings in fstests on purpose so the affected > > tests won't fail because of such dmesg warnings. > > We may also teach 0day robot to ignore the warning when running the > above 2 fstests. > > The more generic way of filtering may be to inject a dmesg line like > > THIS TEST WILL TRIGGER KERNEL WARNING, PLEASE IGNORE. > > just before the specific tests startup. Then 3rd party dmesg parsing > scripts can handle such purpose-made warnings in a uniform way. fstests doesn't know, prior to the test, if the warnings the test is going to trigger are intentional or real bugs, fstests records the dmesg log and analyzes the log after test and reports PASS if all the warnings are intentional (based on the whitelist filter). But I think it's possible to insert such a message to dmesg *after* test if fstests finds that all the warnings are intentional. Does that work for 0day robot? Thanks, Eryu From 1582731501825150217@xxx Tue Oct 31 00:39:43 +0000 2017 X-GM-THRID: 1582666185603067688 X-Gmail-Labels: Inbox,Category Forums