]> git.baikalelectronics.ru Git - kernel.git/commit
Allow setting per-file compression via SMB2/3
authorSteve French <smfrench@gmail.com>
Mon, 14 Oct 2013 20:31:32 +0000 (15:31 -0500)
committerSteve French <smfrench@gmail.com>
Mon, 28 Oct 2013 14:22:31 +0000 (09:22 -0500)
commit8c19cf4a67fd41dccec198a1f2da782db60c2e0f
tree4a17ded1db5b4e83ced56aa4d6d081d2a72211e4
parente80d8a48d55f83ffc041609eb3a9158d5ed3ab30
Allow setting per-file compression via SMB2/3

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).

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

Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/ioctl.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/smb2proto.h