triple allocation of large buffers.

Stefan (metze) Metzmacher metze at samba.org
Thu Jan 17 07:37:52 GMT 2008


Hi Sam,

> vfs_proxy now uses rpc for passing proxied read requests in order to
> easily support various compression types, and I'm wondering if this is a
> bad idea...

I think using rpc for file access is a bad idea, it makes only sense for
management stuff.

I think it would be better to use the trans2 (or was it nttrans)
subcodes, to implement for cifs proxy. Your aim for the whole project is
 performace, so should really do it at the SMB level.

Note: you can still use ndr encoding for some sub-opcodes content,
but for read and write you should avoid it.

Also note there're known bugs in our dcerpc client code,
in the handling of broken connections.

And the dcerpc server code doesn't support async requests
via the smb transport (ntvfs/ipc/).

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080117/c9b85534/signature.bin


More information about the samba-technical mailing list