Re: aufs write doesn't lseek

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 15 May 2006 16:18:46 +0200

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 - 08:19:40 MDT

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