[PATCH 2/2] Allow setting per-file compression via SMB2/3

Stefan (metze) Metzmacher metze at samba.org
Fri Oct 11 04:57:11 MDT 2013


Am 11.10.2013 05:00, schrieb Steve French:
> Allow cifs/smb2/smb3 to return whether or not a file is compressed
> via lsattr, and allow SMB2/SMB3 to set the per-file compression
> flag ("chattr +c filename" on an smb3 mount).
> 
> A followon patch will do this for cifs
> 
> Windows users often set the compressed flag (it can be
> done from the desktop and file manager).  David Disseldorp
> has patches to Samba server to support this (at least on btrfs)
> which are complementary to this.
> 
> As Metze suggested I split out the part of the patch
> which fixed up the length calculation in the
> SMB2_ioctl worker function as it is more general
> and not compression specific enablement (I
> just noticed the problem when doing this patch).

Thanks!

metze


More information about the samba-technical mailing list