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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FA1DC433F5 for ; Tue, 8 Mar 2022 15:55:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348143AbiCHP4j (ORCPT ); Tue, 8 Mar 2022 10:56:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348169AbiCHP42 (ORCPT ); Tue, 8 Mar 2022 10:56:28 -0500 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E75444F9FA for ; Tue, 8 Mar 2022 07:55:28 -0800 (PST) Received: from cwcc.thunk.org (pool-108-7-220-252.bstnma.fios.verizon.net [108.7.220.252]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 228FtFvo012691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Mar 2022 10:55:15 -0500 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 065C715C00DD; Tue, 8 Mar 2022 10:55:15 -0500 (EST) Date: Tue, 8 Mar 2022 10:55:15 -0500 From: "Theodore Ts'o" To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 12/22] ext4: Use scoped memory APIs in ext4_write_begin() Message-ID: References: <20220222194820.737755-1-willy@infradead.org> <20220222194820.737755-13-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220222194820.737755-13-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Feb 22, 2022 at 07:48:10PM +0000, Matthew Wilcox (Oracle) wrote: > Instead of setting AOP_FLAG_NOFS, use memalloc_nofs_save() and > memalloc_nofs_restore() to prevent GFP_FS allocations recursing > into the filesystem with a journal already started. > > Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Theodore Ts'o