read vs write

Andrew Bartlett abartlet at samba.org
Mon Nov 20 02:00:40 GMT 2006


On Sun, 2006-11-19 at 20:21 -0500, Novgorodsky, Sergey wrote:
> Hello
> I've been doing some testing with my VFS module and noticed 
> that pread() requests about 64K of data each call and pwrite() 
> provides about 15K of data at a time.
> Is that a generic pattern?

This is determined at runtime by the client, and often by the client
application on top of the client CIFS stack.  But yes, this seems
reasonable for common values you would expect.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20061120/884668ec/attachment.bin


More information about the samba-technical mailing list