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

Steve French smfrench at gmail.com
Thu Oct 10 07:50:53 MDT 2013


On Thu, Oct 10, 2013 at 1:25 AM, Stefan (metze) Metzmacher
<metze at samba.org> wrote:
> Hi Steve,
>
>> 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 smb2 or smb3 mount).
>
> There're still unrelated generic fixes in SMB2_ioctl(), which would
> a separate commit.

Not totally unrelated because I noticed I had to fix the length
calculation when trying to get this particular ioctl to work, but it
is easy enough to break into another patch. Will do.

> I also don't understand why the set operation should not be available
> in all protocols, there's nothing SMB2 or SMB3 specific.

I could add the cifs ioctl as a followon patch but figured cifs was
lower priority because vast majority of current servers would have at
least smb2.   Was trying to focus on the remaining missing ioctls and
fs info calls that SMB2/SMB3 should be able to make (e.g. verify
negotiate, copy offload, query adapter info etc.)



-- 
Thanks,

Steve


More information about the samba-technical mailing list