]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - io/io.h
xfs_io: Allow partial writes
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Thu, 9 Nov 2017 20:56:29 +0000 (14:56 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 9 Nov 2017 20:56:29 +0000 (14:56 -0600)
commit43ba1d61e0e5f493e529fd9db20dc8a6ee6d5899
treeeebfe92141e68ce939de8e0c49e768fd0ba44c55
parent0799d5cf54dcfe9579268b644c6f5706fc341e93
xfs_io: Allow partial writes

Partial writes are performed when there is an error midway
while performing the I/O. Perform the write exactly once and
return the number of bytes written so far, until the error.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
[sandeen@sandeen.net: add O to short help]
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/io.h
io/pwrite.c
man/man8/xfs_io.8