Use sys_pread/sys_pwrite to cope correctly with 64-bit sizes. As in the default VFS...
authorJeremy Allison <jra@samba.org>
Wed, 25 Jan 2012 23:30:56 +0000 (15:30 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 26 Jan 2012 01:11:28 +0000 (02:11 +0100)
commit1ca4df58c76e98d963d90c092532ca584606ccff
treed4f2f56da6cc4fbbd4a3a91941857bdef1a1e1b1
parentd8c699190d2cc0ce64395c7b2b10bb25c98a2943
Use sys_pread/sys_pwrite to cope correctly with 64-bit sizes. As in the default VFS case fall back from pread -> read and pwrite -> write on an ESPIPE error in the worker thread.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jan 26 02:11:28 CET 2012 on sn-devel-104
source3/modules/vfs_aio_pthread.c