From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032348AbbKDSf4 (ORCPT ); Wed, 4 Nov 2015 13:35:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63095 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031775AbbKDSfD (ORCPT ); Wed, 4 Nov 2015 13:35:03 -0500 From: Jeff Moyer To: Dave Chinner Cc: linux-nvdimm@ml01.01.org, "J. Bruce Fields" , linux-mm@kvack.org, Andreas Dilger , "H. Peter Anvin" , Jeff Layton , x86@kernel.org, Ingo Molnar , linux-ext4@vger.kernel.org, xfs@oss.sgi.com, Alexander Viro , Thomas Gleixner , axboe@kernel.dk, "Theodore Ts'o" , linux-kernel@vger.kernel.org, Jan Kara , linux-fsdevel@vger.kernel.org, Andrew Morton , Matthew Wilcox Subject: Re: [RFC 00/11] DAX fsynx/msync support References: <1446149535-16200-1-git-send-email-ross.zwisler@linux.intel.com> <20151030035533.GU19199@dastard> <20151030183938.GC24643@linux.intel.com> <20151101232948.GF10656@dastard> <20151102201029.GI10656@dastard> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 X-PCLoadLetter: What the f**k does that mean? Date: Wed, 04 Nov 2015 13:34:58 -0500 In-Reply-To: (Jeff Moyer's message of "Mon, 02 Nov 2015 16:02:48 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jeff Moyer writes: >> Hence once the filesystem has waited on the REQ_WRITE|REQ_FLUSH IO >> to complete, we know that all the earlier REQ_WRITE IOs are on >> stable storage, too. Hence there's no need for the elevator to drain >> the queue to guarantee completion ordering - the dispatch ordering >> and flush/fua write semantics guarantee that when the flush/fua >> completes, all the IOs dispatch prior to that flush/fua write are >> also on stable storage... > > Des xfs rely on this model for correctness? If so, I'd say we've got a > problem. Dave?