Re: aufs write doesn't lseek

From: Kinkie <kinkie-dev@dont-contact.us>
Date: Tue, 16 May 2006 10:00:21 +0200

On Mon, 2006-05-15 at 20:50 +0200, Henrik Nordstrom wrote:
> tis 2006-05-16 klockan 02:01 +0800 skrev Adrian Chadd:
>
> > I'll eventually turn all of this into compile-time options, with
> > relevant warnings as to what works/what doesn't. I'd like to hope
> > the emulation of pread/pwrite is 'correct' but if you're right it
> > will be emulated by userspace lseek/read and lseek/write calls - which
> > must be made atomic somehow.
>
> it is quite trivial to emulate, thanks to dup() creating a new file
> pointer..
>
> dup
> lseek
> read/write
> close

Would it be that hard to just use multiple FDs to the same storage file
and then leave the OS to schedule the I/O?

        Kinkie
Received on Tue May 16 2006 - 02:55:31 MDT

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