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
