From: Jan Kara Subject: Re: [PATCH 11/13] dax, iomap: Add support for synchronous faults Date: Thu, 24 Aug 2017 18:45:54 +0200 Message-ID: <20170824164554.GA14410@quack2.suse.cz> References: <20170817160815.30466-1-jack@suse.cz> <20170817160815.30466-12-jack@suse.cz> <20170824122720.GA9961@infradead.org> <20170824123451.GA6187@quack2.suse.cz> <20170824133809.GA29607@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org, Andy Lutomirski , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, Ross Zwisler , Dan Williams , Boaz Harrosh To: Christoph Hellwig Return-path: Content-Disposition: inline In-Reply-To: <20170824133809.GA29607@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Thu 24-08-17 06:38:09, Christoph Hellwig wrote: > On Thu, Aug 24, 2017 at 02:34:51PM +0200, Jan Kara wrote: > > In a subtle but important way ;). The main difference is that if the extent > > has been already allocated by previous write, but the changing transaction > > is not yet committed, we will return IOMAP_F_NEEDDSYNC but not IOMAP_F_NEW. > > Ok. How about a IOMAP_F_DIRTY flag and a better explanation? OK, will change it. Honza -- Jan Kara SUSE Labs, CR