Re: aufs write doesn't lseek

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 16 May 2006 02:02:42 +0800

And thankyou for suggesting pread/pwrite to me on IRC. I've been swearing
and cursing for the last couple of days because of the Linux POSIX AIO
implementation and no seemingly easy way to get highly concurrent disk
IO without writing my own scheduler. Which more than likely would have
looked like aio/sfs :)

adrian

On Mon, May 15, 2006, Henrik Nordstrom wrote:
> m??n 2006-05-15 klockan 19:23 +0800 skrev Adrian Chadd:
>
> > Yeah, there's not much I can do in that case. Unless they have a
> > good (read: good for lots of queued IO on a single disk FD) implementation
> > of POSIX AIO.
>
> Doubtful. The infrastructure required for native pread/pwrite support is
> just a small subset of what is required for POSIX AIO.. (ability to
> schedule absolute I/O without relying on the file pointer).
>
> But lets not worry about that. If there is a pread/pwrite then use it
> and be happy. The drawback of it being emulated should only be
> performance, not functionality (assuming the emulation is correct). I
> doubt you will find a pthreads implementation without working
> pread/pwrite.
>
> Regards
> Henrik
Received on Mon May 15 2006 - 12:04:36 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:04 MDT