Difference between revisions of "LinuxCIFSKernel"

(Changes by release)
(Linux 4.2)
Line 4: Line 4:
== Changes by release ==
== Changes by release ==
=== Linux 4.2 ===
== 4.1 Kernel ==
– SMB 3.11 (Windows 10) dialect support (improved security)
– SMB 3.11 (Windows 10) dialect support (improved security)
– Faster copy offload (REFLINK, duplicate_extents) added for Windows Server 2016
– Faster copy offload (REFLINK, duplicate_extents) added for Windows Server 2016

Revision as of 01:59, 24 May 2016

Linux Kernel CIFS Client

The Linux cifs kernel client has been included in the kernel since 2.5.42. The cifs protocol (and related earlier SMB dialects) is the default ("vers=1.0") but support for newer dialects (SMB2.02, SMB2.1 and SMB3 and SMB3.02) can be selected by specifying "vers=2.0" or "vers=2.1" or "vers=3.0" or "vers=3.02" on mount.

Changes by release

4.1 Kernel

– SMB 3.11 (Windows 10) dialect support (improved security) – Faster copy offload (REFLINK, duplicate_extents) added for Windows Server 2016

4.1 Kernel

Mapchars fix, fix to allow Unicode surrogate pairs (improved character conversion for some Asian languages), DFS fix, inode number reuse fix

4.0 Kernel

Fix copy offload (clone range) bug, and find_writable_file bug

3.19 Kernel (cifs.ko module version 2.06)

Fix Oplock bug, inode caching bug and ioctl clone bug Fix conflicts between SecurityFlags (which allowed CONFIG_MUST_LANMAN and CONFIG_MUST_PLNTXT to get cleared when set to non-default values)

3.18 Kernel

Add mfsymlink (emulated symlink) support for SMB3 mounts Add optional support for "sfu" style FIFO and device file emulation for SMB3 (when "sfu" is specific on an SMB3 mount) By default support mapchars ('SFM' style remapping, ie the same way the Mac remaps them) for the seven reserved characters (*, ?, : etc.) when mounting with SMB3. Workaround Unix Extensions problem on cifs mounts to Mac servers.

3.17 Kernel

SMB3 large read/write support much faster (including SMB3 multicredit support) Many SMB3 stability fixes directio allowed on "cache=strict" mounts Added fallocate/sparse file support for SMB3 Fixed SMB2.1 mounts to MacOS servers

3.16 Kernel

Allow multiple mounts to the same server with different dialects Rewrote authentication support to improve GSSAPI support Fix mapchars (which allows use of reserved characters like ':' ion paths) to work over SMB3, not just cifs, mounts

3.15 Kernel

Bug fixes (aio/write, append, xattrs, metadata caching)


Bug Fixes (including SMB3 large write fix, and fix DFS refererals when mounted to Samba with Unix Extensions). Security fix for illegal aio write request


Added support for setting/getting per-file compression ("chattr +c /mnt/filename") CIFS and SMB2/SMB3 CopyChunk (server side copy offload support added) Support for O_DIRECT on "cache=none" mounts (specsfs support) Secure negotiate support (SMB3 downgrade attack protection)


Multiuser SMB3 signing now possible SMB2/SMB3 symlinks SMB2.1 Lease (client caching) == 3.11 SMB3 signing (not multiuser) Authentication overhaul SMB2 Durable handle (improved data integrity) SMB3.02 dialect added


cifs.ko module size reduced nosharesock mount option added


Bug fixes (rename fix, dfs security fix)


default authentication mechanism strengthened, moved to ntlmv2 (ntlmv2 in ntlmssp) smb2.02 support added


SMB2.1 support added


"cache=" mount option needed (making forcedirectio and strictcache mount options obsolete)


'Faster read ahead performance'. Also can allow many more requests in flight for cifs dialect (if server sets maximum multiplex requests above the default, client will now honor it even if more than 50 at one time). Support for "sloppy" mount option.