[Samba compression][PATCH 0/5]

Amin Azez azez at ufomechanic.net
Fri Nov 23 16:47:31 GMT 2007

This set of patches adds compressed read support to samba as a client and server.
Read-ahead and caching will follow.

1. I haven't worked out how to use a subcode of TRANS2 so I could with a hint there.
2. smbcli correctly depends on the compression library but the smb server doesn't.

I'd like to get rid of Upgrade_Read_Compress in interfaces.h as used by vfs_cifs.c

I think the real answer is to move SMB_READ_GENERIC and smb_read.generic from
being the same as SMD_READ_READX and add some of the compressed fields to smb_read.generic
This way, the generic truly will be generic and it makes the proxy handling a lot 
simpler, especially when read-ahead and caching are added next week.


More information about the samba-technical mailing list