Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1106097pxb; Fri, 18 Feb 2022 00:25:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwA6PbfZpLwAYe3m11sIIyOd1k4wk/9t/n2UIRu68/V1eGoeKakIYD+O/hrw+lq3koyRBg1 X-Received: by 2002:a17:906:2ec6:b0:69f:286a:66ab with SMTP id s6-20020a1709062ec600b0069f286a66abmr5595096eji.684.1645172710631; Fri, 18 Feb 2022 00:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645172710; cv=none; d=google.com; s=arc-20160816; b=rt0hYbAhg0xU1EFXzNuzEreGgbgZ2GtqtWcdhzt8KWX+naTEXLnki+kM4azBS/U3MX FjtcnObGHgGXjHW99NM9ZnCxNKGYT68qxVLlYibL23GnuPmgDDrUgLn7QEmem2uZ3rYo h8P/LcJYEhO2z3OmhZCTANjQ+K6NNO3Cd8JlDerLRFC/qjClkoxXVWZG76vIRjcviZbf psS2aczQYCXAcwzV0WVM8i75AHHttLUzS2r6lV50x7okzoBk3Tu2nKYzMPdpTpQmFlyX P19apyZmujzlIp8022/QHFvrUe5UlYVU74CcbwNXXNSvCtmpRJsMM7XTJv1t7MWCVCIw KEfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OV4EIzi/+YnKRMCITsPGhDGEtuJ/xW4gTX8CNy7wN7A=; b=VreHM+sz90dWW8xJFjnY+z/SX3lzS7VyLvpI0gRpz9/JjyV4I6rjoqkouybucEvPsZ CAi+DKkEGbYYZBxxnfWZ1aafM+E/rINHHKuh+Z5U3dOhrTE/USE1/sT7aYhyeIDLvITr ARZ+ZydYS1KO3UKFo8FUs3L8KuYNrocgCqF9W4HanuicspKE6hNt5KeGXv4OKfHqbTf3 8uO6KbcDAaH6443ySALF9jN8dOWwja0IJpk3ZrLq/Op3AGf4uK43xsPSOqN2VY+JBHFu XAqAsTwDdLXIFkRFzTxIKV887eq1CLzJzffX4jVN+NiuzpuFWa6YyRcTymZSWubV/PIA LQxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=J50nw6T8; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p15si5279190edc.536.2022.02.18.00.24.40; Fri, 18 Feb 2022 00:25:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=J50nw6T8; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232193AbiBRHwf (ORCPT + 99 others); Fri, 18 Feb 2022 02:52:35 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232171AbiBRHwd (ORCPT ); Fri, 18 Feb 2022 02:52:33 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62B7F580E8; Thu, 17 Feb 2022 23:52:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E0E7AB82537; Fri, 18 Feb 2022 07:52:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9F70C340ED; Fri, 18 Feb 2022 07:52:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645170733; bh=V+9C48iv9XRk+MUoKRdXyp5e9Ugr2dXDUyMumpaYQ6g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J50nw6T8dG5KzH/M8aFe8tHATxgNAosOGLEUAPRWPC99g6+YSWDb3TC1slK7qRKWZ r78c+ZEleASEcNm80gohZLsLprX9bBCL6K6KaMuVr2gqJBrcyOrVrFUF3a4hahRmSw sXqJy5WNvMLvQQMBN93Q3HkJKsbSpOSsUalvBZyA= Date: Fri, 18 Feb 2022 08:51:54 +0100 From: Greg Kroah-Hartman To: Theodore Ts'o Cc: John Hubbard , Lee Jones , linux-ext4@vger.kernel.org, Christoph Hellwig , Dave Chinner , Goldwyn Rodrigues , "Darrick J . Wong" , Bob Peterson , Damien Le Moal , Andreas Gruenbacher , Ritesh Harjani , Johannes Thumshirn , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [REPORT] kernel BUG at fs/ext4/inode.c:2620 - page_buffers() Message-ID: References: <82d0f4e4-c911-a245-4701-4712453592d9@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Feb 17, 2022 at 11:08:38PM -0500, Theodore Ts'o wrote: > On Thu, Feb 17, 2022 at 05:06:45PM -0800, John Hubbard wrote: > > Yes. And looking at the pair of backtraces below, this looks very much > > like another aspect of the "get_user_pages problem" [1], originally > > described in Jan Kara's 2018 email [2]. > > Hmm... I just posted my analysis, which tracks with yours; but I had > forgotten about Jan's 2018 e-mail on the matter. > > > I'm getting close to posting an RFC for the direct IO conversion to > > FOLL_PIN, but even after that, various parts of the kernel (reclaim, > > filesystems/block layer) still need to be changed so as to use > > page_maybe_dma_pinned() to help avoid this problem. There's a bit > > more than that, actually. > > The challenge is that fixing this "the right away" is probably not > something we can backport into an LTS kernel, whether it's 5.15 or > 5.10... or 4.19. Don't worry about stable backports to start with. Do it the "right way" first and then we can consider if it needs to be backported or not. thanks, greg k-h