xfs
[Top] [All Lists]

Re: [PATCH 0/3] xfs_io: new functions

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH 0/3] xfs_io: new functions
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Tue, 09 Oct 2012 15:47:16 -0500
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <5074760D.7000300@xxxxxxxxxxx>
References: <1343255450-28559-1-git-send-email-david@xxxxxxxxxxxxx> <5060D5D5.80602@xxxxxxx> <5074760D.7000300@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 10/09/12 14:07, Eric Sandeen wrote:
On 9/24/12 4:51 PM, Mark Tinguely wrote:
On 07/25/12 17:30, Dave Chinner wrote:
This is just a couple of additional functions for xfs_io I have had
sitting around for a while. The first is an interface to
sync_file_range() for better control of file writeback.  The second
and third introduce vectored pread/pwrite so that I could simulate
the same style of vectored IO that KVM does via direct IO (hint -
tracing indicated that the generic direct IO code doesn't handle
this particularly efficiently).

_____________________________________________

This series has been committed to
    git://oss.sgi.com/xfs/cmds/xfsprogs.git

-Mark.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


Looks like this might need some config-fu:

pread.o: In function `do_pread':
/src/git/xfsprogs/io/pread.c:198: undefined reference to `preadv'
/src/git/xfsprogs/io/pread.c:198: undefined reference to `preadv'
pwrite.o: In function `do_pwrite':
/src/git/xfsprogs/io/pwrite.c:85: undefined reference to `pwritev'
/src/git/xfsprogs/io/pwrite.c:85: undefined reference to `pwritev'
sync_file_range.o: In function `sync_range_f':
/src/git/xfsprogs/io/sync_file_range.c:87: undefined reference to 
`sync_file_range'


(on a Centos5 box)


Thanks Eric, I will take a look at it.

--Mark.

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