Re: aufs write doesn't lseek

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 15 May 2006 13:17:43 +0200

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

Regards
Henrik

Received on Mon May 15 2006 - 05:18:49 MDT

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