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 974F2C433EF for ; Tue, 8 Mar 2022 17:13:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348572AbiCHROd (ORCPT ); Tue, 8 Mar 2022 12:14:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236620AbiCHROd (ORCPT ); Tue, 8 Mar 2022 12:14:33 -0500 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E147B84B for ; Tue, 8 Mar 2022 09:13:36 -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 228HDUp0016566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Mar 2022 12:13:30 -0500 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 277D915C00DD; Tue, 8 Mar 2022 12:13:30 -0500 (EST) Date: Tue, 8 Mar 2022 12:13:30 -0500 From: "Theodore Ts'o" To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 11/22] ext4: Use scoped memory APIs in ext4_da_write_begin() Message-ID: References: <20220222194820.737755-1-willy@infradead.org> <20220222194820.737755-12-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220222194820.737755-12-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Feb 22, 2022 at 07:48:09PM +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