systems without pread?

Jeremy Allison jra at
Tue Dec 16 18:15:05 GMT 2003

On Tue, Dec 16, 2003 at 01:19:48PM +1100, James Peach wrote:
> Hi all,
> I have been testing a patch which adds pread/pwrite oerations to the Samba
> VFS layer and makes exclusive use of them in the file I/O path. The current
> version emulates p{read,write} using lseek/lseek/{read,write}/lseek if they
> are absent. So while it is a big performance win for the lucky platforms
> _with_ those APIs, it does introduce suckage for those without.

Hmmmm. How have you tested this performance win ? I like the look
of these changes but I'd want to make sure it really helped on
significant platforms (Linux for example).


More information about the samba-technical mailing list