From: Christoph Hellwig Subject: Re: [PATCH 11/13] dax, iomap: Add support for synchronous faults Date: Thu, 24 Aug 2017 06:38:09 -0700 Message-ID: <20170824133809.GA29607@infradead.org> References: <20170817160815.30466-1-jack@suse.cz> <20170817160815.30466-12-jack@suse.cz> <20170824122720.GA9961@infradead.org> <20170824123451.GA6187@quack2.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , 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: Jan Kara Return-path: Received: from bombadil.infradead.org ([65.50.211.133]:51644 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892AbdHXNiL (ORCPT ); Thu, 24 Aug 2017 09:38:11 -0400 Content-Disposition: inline In-Reply-To: <20170824123451.GA6187@quack2.suse.cz> Sender: linux-ext4-owner@vger.kernel.org List-ID: 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?