[PATCH] [CIFS] Allow setting per-file compression via SMB3

Stefan (metze) Metzmacher metze at samba.org
Tue Oct 8 01:16:10 MDT 2013


Hi Steve,

> Allow cifs/smb2/smb3 to return whether or not a file is compressed
> via lsattr, and allow SMB3 to set the per-file compression flag
> ("chattr +c filename" on an smb3 mount).

Why is this SMB3 specific?

> 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.
> 
> Wish chattr supported the per-file encryption flag (that
> presumably would be easy to set too via SMB3)

It seems there're some unrelated changes in the commit,
wouldn't it be better to split this into 2 or 3 commits?

metze


More information about the samba-technical mailing list