From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3851EC433C1 for ; Fri, 19 Mar 2021 16:47:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id ACE1D61942 for ; Fri, 19 Mar 2021 16:47:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ACE1D61942 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 27BB76B0080; Fri, 19 Mar 2021 12:47:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 22D718D0001; Fri, 19 Mar 2021 12:47:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 07E8E6B0082; Fri, 19 Mar 2021 12:47:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0058.hostedemail.com [216.40.44.58]) by kanga.kvack.org (Postfix) with ESMTP id DFD0A6B0080 for ; Fri, 19 Mar 2021 12:47:19 -0400 (EDT) Received: from smtpin39.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 90E071801FC5A for ; Fri, 19 Mar 2021 16:47:19 +0000 (UTC) X-FDA: 77937204198.39.B46026B Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by imf14.hostedemail.com (Postfix) with ESMTP id 7D3F9C00CBD1 for ; Fri, 19 Mar 2021 16:47:17 +0000 (UTC) Received: by mail-pl1-f174.google.com with SMTP id l1so3226730plg.12 for ; Fri, 19 Mar 2021 09:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=oPeYsdmowjkppQpMJZcOjiutsnQzd/ubizhrUfn0Ztw=; b=IzG/AANsPWxONPbzKRFyOkTzuSU0+OV5WD3D9X/ONKXlFySw3Ijwi964gckOgittlN 5hRqgUBjb/SG7jT5XxmE9G1ZCjHHQNWFYLjfQ3DP+l7n1Dpn9muhcsw+P/xLp4tiVaXH /74QBwStX0zWm+690Pz6Sm+KXs5qaggXQkFcwzMuqQ1RK61ucNBqc3NANS3pQj5fiqFB 0ovwrH4Q4s0rArOTVkKy2XEFg2TkRwfIHgoSEFw/QNYmrmojNw9DnkmRW3NS/vdgvLdt oqNzEV3DKD/6n1UQQb3glcIq6HOFL/IZl4Wsq/URXIjPkUL+jusg0e3Sd558yvXf9LPT iJww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=oPeYsdmowjkppQpMJZcOjiutsnQzd/ubizhrUfn0Ztw=; b=AULA3e6vAHWuoCd6KqmDXzX93RGZdZnSQi/tlZeU3oYUQwjCIehl4WH5e6YiWUUzko t0UTxZkkMKcHQ8gwc8OggSZmg/RMNrtUz7JbKUNoSCbNAXkjO/vsKmYqkVGtaQ3aDFNL vnbHKB04GLKooC5pnDf18xZYaFDS4lrgTC1GeLzpcozN5EJw1xI04ORPN0H6Lz7Q6by6 osKU1UCkDpObHcreohnxQBKbdxAzPowHnAo7yPhqIKiGyrIRYKWzZIzdez0hU1yygQ0l QW0CF6pTBTjKiH8AD+xg4FgLy/mkYcptlZ6X5Q4g+UKVW2LvKB1eJwdcEagnYJxW1JV5 X/dA== X-Gm-Message-State: AOAM5303/yX64SuLtHoddjBFVlssaqW8MTr8Yesc09992SvMMgnM+Ir8 V2L1g1vxEbZnoUQfqKLBpkVjVsfzYbs= X-Google-Smtp-Source: ABdhPJwEAEicj0hQG5NkgB6gBP6RPY3XfcPN/AoYNlw+POoNr3rWWe/ag69hAo1mfsKUFjX8Twdolg== X-Received: by 2002:a17:90b:804:: with SMTP id bk4mr10579106pjb.25.1616172431326; Fri, 19 Mar 2021 09:47:11 -0700 (PDT) Received: from google.com ([2620:15c:211:201:913d:5573:c956:f033]) by smtp.gmail.com with ESMTPSA id h19sm5878642pgn.89.2021.03.19.09.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 09:47:10 -0700 (PDT) Date: Fri, 19 Mar 2021 09:47:08 -0700 From: Minchan Kim To: Oliver Sang Cc: 0day robot , Chris Goldsworthy , LKML , lkp@lists.01.org, Andrew Morton , linux-mm , joaodias@google.com, surenb@google.com, willy@infradead.org, mhocko@suse.com, david@redhat.com, vbabka@suse.cz, linux-fsdevel@vger.kernel.org Subject: Re: [mm] 8fd8d23ab1: WARNING:at_fs/buffer.c:#__brelse Message-ID: References: <20210310161429.399432-3-minchan@kernel.org> <20210317023756.GA22345@xsang-OptiPlex-9020> <20210319140528.GB30349@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210319140528.GB30349@xsang-OptiPlex-9020> X-Stat-Signature: 1t8opptkexzh64o7itc44zq1qb8ke65i X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 7D3F9C00CBD1 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf14; identity=mailfrom; envelope-from=""; helo=mail-pl1-f174.google.com; client-ip=209.85.214.174 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616172437-726649 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Mar 19, 2021 at 10:05:28PM +0800, Oliver Sang wrote: > Hi Minchan, > > On Wed, Mar 17, 2021 at 09:29:38AM -0700, Minchan Kim wrote: > > On Wed, Mar 17, 2021 at 10:37:57AM +0800, kernel test robot wrote: > > > > > > > > > Greeting, > > > > > > FYI, we noticed the following commit (built with gcc-9): > > > > > > commit: 8fd8d23ab10cc2fceeac25ea7b0e2eaf98e78d64 ("[PATCH v3 3/3] mm: fs: Invalidate BH LRU during page migration") > > > url: https://github.com/0day-ci/linux/commits/Minchan-Kim/mm-replace-migrate_prep-with-lru_add_drain_all/20210311-001714 > > > base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 144c79ef33536b4ecb4951e07dbc1f2b7fa99d32 > > > > > > in testcase: blktests > > > version: blktests-x86_64-a210761-1_20210124 > > > with following parameters: > > > > > > test: nbd-group-01 > > > ucode: 0xe2 > > > > > > > > > > > > on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory > > > > > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > > > > > > > > > > > If you fix the issue, kindly add following tag > > > Reported-by: kernel test robot > > > > > > > > > [ 40.465061] WARNING: CPU: 2 PID: 5207 at fs/buffer.c:1177 __brelse (kbuild/src/consumer/fs/buffer.c:1177 kbuild/src/consumer/fs/buffer.c:1171) > > > [ 40.465066] Modules linked in: nbd loop xfs libcrc32c dm_multipath dm_mod ipmi_devintf ipmi_msghandler sd_mod t10_pi sg intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel rapl i915 mei_wdt intel_cstate wmi_bmof intel_gtt drm_kms_helper syscopyarea ahci intel_uncore sysfillrect sysimgblt libahci fb_sys_fops drm libata mei_me mei intel_pch_thermal wmi video intel_pmc_core acpi_pad ip_tables > > > [ 40.465086] CPU: 2 PID: 5207 Comm: mount_clear_soc Tainted: G I 5.12.0-rc2-00062-g8fd8d23ab10c #1 > > > [ 40.465088] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1 10/07/2015 > > > [ 40.465089] RIP: 0010:__brelse (kbuild/src/consumer/fs/buffer.c:1177 kbuild/src/consumer/fs/buffer.c:1171) > > > [ 40.465091] Code: 00 00 00 00 00 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 47 60 85 c0 74 05 f0 ff 4f 60 c3 48 c7 c7 d8 99 57 82 e8 02 5d 80 00 <0f> 0b c3 0f 1f 44 00 00 55 65 ff 05 13 79 c8 7e 53 48 c7 c3 c0 89 > > > > Hi, > > > > Unfortunately, I couldn't set the lkp test in my local mahcine > > since installation failed(I guess my linux distribution is > > very minor) > > > > Do you mind testing this patch? (Please replace the original > > patch with this one) > > by replacing the original patch with below one, we confirmed the issue fixed. Thanks Hi Oliver, Let me resend formal patch with following Reported-by: kernel test robot Tested-by: Oliver Sang Thanks for the testing!