systems without pread?
Green, Paul
Paul.Green at stratus.com
Tue Dec 16 02:48:47 GMT 2003
James Peach [mailto:jpeach at sgi.com] writes:
> 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.
Interesting.
> So, are there any systems that Samba runs on without
> p{read,write}, and should I propagate my #ifdef-age to
> restore the original behaviour for these?
Yes. These are new in POSIX-2001; they are not present in POSIX-96. Some
of us are still on POSIX-96.
Thanks
PG
--
Paul Green, Senior Technical Consultant,
Stratus Technologies, Maynard, MA USA
Voice: +1 978-461-7557; FAX: +1 978-461-3610
More information about the samba-technical
mailing list