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 X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0EDAC3A59F for ; Thu, 29 Aug 2019 14:41:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6D99F2342A for ; Thu, 29 Aug 2019 14:41:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="kNRVBxJE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728883AbfH2OlV (ORCPT ); Thu, 29 Aug 2019 10:41:21 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48678 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728032AbfH2OlU (ORCPT ); Thu, 29 Aug 2019 10:41:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KdVEQ5VHWxxvnLBymhZvGgMWXmV/8HO1L9jLY+cC+b4=; b=kNRVBxJEcBa0af3GiXPGGFOZT oCh+HQZnQv4RvcQGc+jSeepfyhlLUVsHDVH/T4WP8No1q3gznXe7HfqRZS2YNX00hi0dTdnb/04D+ PasJEtLwJ2nkcDEHtIGAtdo3pBzMhfXMcA3I3QrVzzwJnyQTRHcltq86qSDPsVRAQfPR69Exn2vPX wumT6ZC0llos6PXgfW5wO21RT97FgH4cJhNmSjg3mhMGoTdeULBaJ9OFHUQcljnhTPtwbc7sVVdSX m3s0D3gE2VPjKc2c3x5kclJy3LHFLN2g4ga3feezppd4VnMzgpRlo2FhqO0KmDIrR/IwBLwHC+RRI UryEw8zeQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i3Lbk-0001H5-38; Thu, 29 Aug 2019 14:41:04 +0000 Date: Thu, 29 Aug 2019 07:41:04 -0700 From: Christoph Hellwig To: Matthew Bobrowski Cc: Christoph Hellwig , Jan Kara , "Theodore Y. Ts'o" , "Darrick J. Wong" , Ritesh Harjani , adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, aneesh.kumar@linux.ibm.com Subject: Re: [PATCH 0/5] ext4: direct IO via iomap infrastructure Message-ID: <20190829144103.GA1683@infradead.org> References: <20190822141126.70A94A407B@d06av23.portsmouth.uk.ibm.com> <20190824031830.GB2174@poseidon.bobrowski.net> <20190824035554.GA1037502@magnolia> <20190824230427.GA32012@infradead.org> <20190827095221.GA1568@poseidon.bobrowski.net> <20190828120509.GC22165@poseidon.bobrowski.net> <20190828142729.GB24857@mit.edu> <20190828180215.GE22343@quack2.suse.cz> <20190829063608.GA17426@infradead.org> <20190829112048.GA2486@poseidon.bobrowski.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190829112048.GA2486@poseidon.bobrowski.net> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Aug 29, 2019 at 09:20:50PM +1000, Matthew Bobrowski wrote: > Uh ha! So, we conclude that there's no need to muck around with hairy > ioend's, or the need to denote whether there's unwritten extents held > against the inode using tricky state flag for that matter. So in XFS we never had the i_unwritten counter, that is something purely ext4 specific, and I can't really help with that unfortunately, but maybe the people who implemented it might be able to help on that one.