Re: aufs write doesn't lseek

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 15 May 2006 19:23:01 +0800

On Mon, May 15, 2006, Henrik Nordstrom wrote:
> m??n 2006-05-15 klockan 18:05 +0800 skrev Adrian Chadd:
>
> > Its a shame I can't queue multiple read()s and write()s to the same FD; threads
> > don't have a 'local' seek pointer to an FD as far as I can tell.
>
> Well, the code could be changed to use pread/pwrite to solve this
> problem on most OS:es..
>
> but be warned that some older OS:es emulate pread/pwrite using lseek +
> i/o..

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.

Anyway; I'll see how fast/reliable/usable I can get COSS in its current
incantation under Linux.

Adrian
Received on Mon May 15 2006 - 05:24:54 MDT

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