From: Christoph Hellwig Subject: Re: preadv2/pwritev2 updates Date: Thu, 2 Oct 2014 13:31:23 +0200 Message-ID: <20141002113123.GB32112@lst.de> References: <1412197494-7655-1-git-send-email-hch@lst.de> <20141001222637.GU4758@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Milosz Tanski , linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com To: Dave Chinner Return-path: Received: from verein.lst.de ([213.95.11.211]:44668 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbaJBLbZ (ORCPT ); Thu, 2 Oct 2014 07:31:25 -0400 Content-Disposition: inline In-Reply-To: <20141001222637.GU4758@dastard> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Oct 02, 2014 at 08:26:37AM +1000, Dave Chinner wrote: > On Wed, Oct 01, 2014 at 11:04:51PM +0200, Christoph Hellwig wrote: > > Hi Miklos, > > > > attached are the patches that go on top of your > > "[RFC v3 0/4] vfs: Non-blockling buffered fs read (page cache only)" > > series. The first one adds RWF_NONBLOCK to XFS, the other two > > add a new RWF_DSYNC flag that adds a per-operation O_DSYNC flag. > > Christoph, any plans to add these new syscalls to xfs_io and > data integrity tests for the new RWF_DSYNC flag? I've got some hacked up xfs_io support, but Milosz was planning a slight revision of the syscall interface that I'm still waiting for. How would you want to automatically test for data integrity? That requires a powerfail or crash unfortunately and we don't have good infrastructure for that yet. I've tested it by adding a printk that RWF_DSYNC triggers the same code path as O_DSYNC.