Re: aufs write doesn't lseek

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 16 May 2006 11:42:20 +0200

tis 2006-05-16 klockan 10:00 +0200 skrev Kinkie:

> 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?

Well, this is what pread/pwrite does.. except for the multiple FD
thing... it's ok with multiple concurrent pread/pwrite to the same FD at
differnt offsets.

In either way is application concurrency required (i.e. threads or
similar) for having the OS schedule the I/O in any different order than
strictly needed by the application..

Regards
Henrik

Received on Tue May 16 2006 - 03:43:13 MDT

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