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

Christoph Hellwig hch at infradead.org
Sat Jul 28 18:57:30 CDT 2012


On Thu, Jul 26, 2012 at 08:30:49AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> 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 at redhat.com>

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list