From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ipmail01.adl2.internode.on.net ([150.101.137.133]:8467 "EHLO ipmail01.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751801AbdI0Ve7 (ORCPT ); Wed, 27 Sep 2017 17:34:59 -0400 Date: Thu, 28 Sep 2017 07:34:54 +1000 From: Dave Chinner Subject: Re: [PATCH 1/2] generic/461: Test RWF_NOWAIT Message-ID: <20170927213454.GD3666@dastard> References: <20170927191003.10099-1-rgoldwyn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170927191003.10099-1-rgoldwyn@suse.de> Sender: fstests-owner@vger.kernel.org To: Goldwyn Rodrigues Cc: fstests@vger.kernel.org, Goldwyn Rodrigues List-ID: On Wed, Sep 27, 2017 at 02:10:02PM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > Tests the RWF_NOWAIT flag so the I/O returns immediately on > a new file, without any block allocations. > > A new program which includes the pwritev2() call is used. This allows > passing flags for the I/O to be performed. Rather than write a one-off test program for this that effectively replicates xfs_io pread/pwrite functionality, please add RWF_NOWAIT flag support to xfs_io. Cheers, Dave. -- Dave Chinner david@fromorbit.com