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 A9E32C61DB3 for ; Tue, 10 Jan 2023 08:25:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237936AbjAJIYu (ORCPT ); Tue, 10 Jan 2023 03:24:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjAJIYi (ORCPT ); Tue, 10 Jan 2023 03:24:38 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F79543A1C; Tue, 10 Jan 2023 00:24:37 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 4A99F68AFE; Tue, 10 Jan 2023 09:24:29 +0100 (CET) Date: Tue, 10 Jan 2023 09:24:28 +0100 From: Christoph Hellwig To: Matthew Wilcox Cc: Christoph Hellwig , Andrew Morton , Chris Mason , Josef Bacik , David Sterba , Dave Kleikamp , Mark Fasheh , Joel Becker , Joseph Qi , Evgeniy Dushistov , linux-btrfs@vger.kernel.org, jfs-discussion@lists.sourceforge.net, ocfs2-devel@oss.oracle.com, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 4/7] sysv: don't flush page immediately for DIRSYNC directories Message-ID: <20230110082428.GC11947@lst.de> References: <20230108165645.381077-1-hch@lst.de> <20230108165645.381077-5-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Sun, Jan 08, 2023 at 09:19:22PM +0000, Matthew Wilcox wrote: > On Sun, Jan 08, 2023 at 05:56:42PM +0100, Christoph Hellwig wrote: > > We do not need to writeout modified directory blocks immediately when > > modifying them while the page is locked. It is enough to do the flush > > somewhat later which has the added benefit that inode times can be > > flushed as well. It also allows us to stop depending on > > write_one_page() function. > > Similar concerns to the minix patch here ... missing assignments to > 'err'. Fixed.