Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2400510ybl; Thu, 29 Aug 2019 07:42:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuRoaHxSS7fzB03UqxIta5W7VpoE6U08wY1yYy7xFCNMx1HvvoQjKOtJZLTb1b/hkfOv99 X-Received: by 2002:a62:63c1:: with SMTP id x184mr12251047pfb.11.1567089762781; Thu, 29 Aug 2019 07:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567089762; cv=none; d=google.com; s=arc-20160816; b=sMA/ZKW92ld6+5MWgOlJiu4fvgeOrar5E9nRinsmcP3sAj6p0df9A+R14PslGVHvrU LsLZ/UrwpqMXXFcq4ogdRirHVCEkHBndzCXWrZnAsnvBmsCI7d725NwzOkUw8vXp7oz0 L+cSKkNDX7T8lroXcylm8l8lYHUK1TYcYFU5o2tbSBjmS4scXZTeAIE6VfyyEgmrHvnA jkSXFEy634HYFzxniv8G9lhlck1KdgeCcb2xNNWLr3+BSLhePJZgc6Xxz6beSKSd3B8Z Z0irwWRxiRFI6cQlnCeY4UIPh/ztii+j+OhziiV9UfaQ9LxdqbZkTUMsRNvlnyHL7xnX QDbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KdVEQ5VHWxxvnLBymhZvGgMWXmV/8HO1L9jLY+cC+b4=; b=ZvZ8C5NrERknTIChDiCI8ok5qe1dLlp247yOWuod2wIaoDGN0gKUNAdU/xySDE0hNr 2u4wPcatrgIl8kHjgfaIc5bSRnXnhZvBhGxivGSb8AcE2j1f0qlkf1tBdydXq5+pb57B wN05Kojnpdc9l5XN+44DoWExcjyJE+CopeDywguO2WbyU5h7/YEKGUfPGtXbBlOY46qe 9MKoWH1M8eEBzvruQGPoHYzqE9ZtdlRXtkozWrIm9yXO0h7adLeO4Z+MmojJImhNixNW 6vHmm210dqwomvb08i5jFPQpSRXyyPqaqK8dPCNPwV7pdnoli8XLwEo/s6oFk18+HleA baXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kNRVBxJE; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l35si2141891plb.322.2019.08.29.07.42.21; Thu, 29 Aug 2019 07:42:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kNRVBxJE; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728882AbfH2OlV (ORCPT + 99 others); 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.