CAP_LARGE_READX and samba performance

Maulik Desai mdesai at
Fri Dec 17 23:30:44 GMT 1999


What does supporting CAP_LARGE_READX capability buy? I'm looking at ways to
samba performance, and was wondering if this would help. I understand that
this will only help in
case of clients speaking NT LM 0.12 dialect and only while reading large
files from server (using 
read_and_x command).

The cifs spec says that:
"If CAP_LARGE_READX was indicated by the server in the negotiate protocol
the request's MaxCount field may exceed the negotiated buffer size if Fid
refers to a disk 
file. The server may arbitrarily elect to return fewer than MaxCount bytes
in response. "

Does this mean that a client would ask to read more bytes (per each
read_and_x request) if this
capability is supported by samba server?

smbd/negprot.c has a comment:
  other valid capabilities which we may support at some time...

I searched the samba & M$ cifs archives, but couldn't find any relevant

If it is worthwhile to add this capability, I can help out to the best of my
capacity in order 
to explore further and possibly implement it.


More information about the samba-technical mailing list