xfs
[Top] [All Lists]

Re: [PATCH 2/3] xfs_io: implement preadv for vectored reads

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 2/3] xfs_io: implement preadv for vectored reads
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 28 Jul 2012 19:57:30 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1343255450-28559-3-git-send-email-david@xxxxxxxxxxxxx>
References: <1343255450-28559-1-git-send-email-david@xxxxxxxxxxxxx> <1343255450-28559-3-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jul 26, 2012 at 08:30:49AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> When looking at KVM based direct IO patterns, I noticed that it was
> using preadv and pwritev, and I could not use xfs_io to simulate
> these IO patterns. Extend the pread command to be able to issue
> vectored read IO to enable use to simulate KVM style direct IO.
> 
> Also document the new parameters as well as all the missing pread
> command parameters in the xfs_io(8) man page.
> 
> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>