From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="v86cmPCG" Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD65E193; Wed, 22 Nov 2023 05:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=O9oHYEGAsBYsLtvmTaKA7FT2Xc3nhsN3tRuqsnNUyXw=; b=v86cmPCGyJdVriNiyDRPZ8/Nec qkyMDRWSfoiMNMtTWuHka7jqm82Mwfk+oYaoZkqEOfXcrBMXFlP1SlX9lfC0C0r8SzwV4CwEeaFxn g5QU6EA64QZTM3a6x5/KfCZ7d991XHjDMPckS18F1A2/ZU3FL7agQ5IomttUw7wwEUg7b1bKLVfYy 27D5wOWNtYn48fcrpDCCrvIoCKio01Qk9BD4rXwkzaMG0KlovJc6Xx8kIzjtoqcLLyAPz68er0PKX WYJR+S7LfSbStGLFgVERAbx0d5GmlJKpzLex4ltdXJNW5fAd5Q4nur1i6dxH+LaPHfbB+M/SuXNu0 9NVzdjxQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1r5n0g-001ubH-38; Wed, 22 Nov 2023 13:11:18 +0000 Date: Wed, 22 Nov 2023 05:11:18 -0800 From: Christoph Hellwig To: Jan Kara Cc: "Ritesh Harjani (IBM)" , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC 2/3] ext2: Convert ext2 regular file buffered I/O to use iomap Message-ID: References: <20231122122946.wg3jqvem6fkg3tgw@quack3> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122122946.wg3jqvem6fkg3tgw@quack3> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Wed, Nov 22, 2023 at 01:29:46PM +0100, Jan Kara wrote: > writeback bit set. XFS plays the revalidation sequence counter games > because of this so we'd have to do something similar for ext2. Not that I'd > care as much about ext2 writeback performance but it should not be that > hard and we'll definitely need some similar solution for ext4 anyway. Can > you give that a try (as a followup "performance improvement" patch). Darrick has mentioned that he is looking into lifting more of the validation sequence counter validation into iomap. In the meantime I have a series here that at least maps multiple blocks inside a folio in a single go, which might be worth trying with ext2 as well: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/iomap-map-multiple-blocks