]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: implement pwritev for vectored writes
authorDave Chinner <david@fromorbit.com>
Wed, 25 Jul 2012 22:30:50 +0000 (22:30 +0000)
committerMark Tinguely <tinguely@eagdhcp-232-125.americas.sgi.com>
Mon, 24 Sep 2012 21:38:35 +0000 (16:38 -0500)
commit10899f176397f7f4da01d9c754a770cc7ec82f6b
treece1e5c038f435f9732efb55c90d2a52446aeaf1c
parente115d3b21a25167de9cbfa4ae43c958b82e655d7
xfs_io: implement pwritev for vectored writes

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 pwrite command to be able to issue
vectored write IO to enable use to simulate KVM style direct IO.

Also document the new parameters as well as all the missing pwrite
command parameters in the xfs_io(8) man page.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Mark Tinguely <tinguely@sgi.com>
io/io.h
io/pwrite.c
man/man8/xfs_io.8