From: Goldwyn Rodrigues <rgoldwyn@suse.de>
To: Dave Chinner <david@fromorbit.com>
Cc: fstests@vger.kernel.org, Goldwyn Rodrigues <rgoldwyn@suse.com>
Subject: Re: [PATCH 1/2] generic/461: Test RWF_NOWAIT
Date: Wed, 27 Sep 2017 16:39:20 -0500 [thread overview]
Message-ID: <2292b367-9880-8e03-fe59-84dc1f2b13da@suse.de> (raw)
In-Reply-To: <20170927213454.GD3666@dastard>
On 09/27/2017 04:34 PM, Dave Chinner wrote:
> On Wed, Sep 27, 2017 at 02:10:02PM -0500, Goldwyn Rodrigues wrote:
>> From: Goldwyn Rodrigues <rgoldwyn@suse.com>
>>
>> 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.
>
This one off program is required because xfs_io does not support partial
writes. It tries to do that within the loop and does not return the
number of bytes written. This is required for test generic/462.
--
Goldwyn
next prev parent reply other threads:[~2017-09-27 21:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 19:10 [PATCH 1/2] generic/461: Test RWF_NOWAIT Goldwyn Rodrigues
2017-09-27 19:10 ` [PATCH 2/2] generic/462: Partial direct write test Goldwyn Rodrigues
2017-09-27 21:34 ` [PATCH 1/2] generic/461: Test RWF_NOWAIT Dave Chinner
2017-09-27 21:39 ` Goldwyn Rodrigues [this message]
2017-09-27 21:51 ` Dave Chinner
2017-09-27 22:24 ` Goldwyn Rodrigues
2017-09-28 1:51 ` Dave Chinner
2017-09-28 2:09 ` Goldwyn Rodrigues
2017-09-28 6:02 ` Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2292b367-9880-8e03-fe59-84dc1f2b13da@suse.de \
--to=rgoldwyn@suse.de \
--cc=david@fromorbit.com \
--cc=fstests@vger.kernel.org \
--cc=rgoldwyn@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox