Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 1 | Version 2.11 September 13, 2017 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | |
| 3 | A Partial List of Missing Features |
| 4 | ================================== |
| 5 | |
| 6 | Contributions are welcome. There are plenty of opportunities |
| 7 | for visible, important contributions to this module. Here |
| 8 | is a partial list of the known problems and missing features: |
| 9 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 10 | a) SMB3 (and SMB3.02) missing optional features: |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 11 | - multichannel (started), integration with RDMA |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 12 | - directory leases (improved metadata caching) |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 13 | - T10 copy offload (copy chunk, and "Duplicate Extents" ioctl |
| 14 | currently the only two server side copy mechanisms supported) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 16 | b) improved sparse file support |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 17 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 18 | c) Directory entry caching relies on a 1 second timer, rather than |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 19 | using Directory Leases |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 21 | d) quota support (needs minor kernel change since quota calls |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 22 | to make it to network filesystems or deviceless filesystems) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 24 | e) Compounding (in progress) to reduce number of roundtrips, and also |
| 25 | better optimize open to reduce redundant opens (using reference counts more). |
Steve French | 0e4bbde | 2008-05-20 19:50:46 +0000 | [diff] [blame] | 26 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 27 | f) Finish inotify support so kde and gnome file list windows |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 28 | will autorefresh (partially complete by Asser). Needs minor kernel |
| 29 | vfs change to support removing D_NOTIFY on a file. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 31 | g) Add GUI tool to configure /proc/fs/cifs settings and for display of |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | the CIFS statistics (started) |
| 33 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 34 | h) implement support for security and trusted categories of xattrs |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | (requires minor protocol extension) to enable better support for SELINUX |
| 36 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 37 | i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol |
| 38 | feature (may be especially useful for virtualization). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 40 | j) Create UID mapping facility so server UIDs can be mapped on a per |
Steve French | 9ea1f8f | 2005-04-30 11:10:58 -0700 | [diff] [blame] | 41 | mount or a per server basis to client UIDs or nobody if no mapping |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 42 | exists. Also better integration with winbind for resolving SID owners |
Steve French | 9ea1f8f | 2005-04-30 11:10:58 -0700 | [diff] [blame] | 43 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 44 | k) Add tools to take advantage of more smb3 specific ioctls and features |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 45 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 46 | l) encrypted file support |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 47 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 48 | m) improved stats gathering, tools (perhaps integration with nfsometer?) |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 49 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 50 | n) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed |
| 51 | file attribute via chflags) and improve user space tools for managing and |
| 52 | viewing them. |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 53 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 54 | o) mount helper GUI (to simplify the various configuration options on mount) |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 55 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 56 | p) Add support for witness protocol (perhaps ioctl to cifs.ko from user space |
| 57 | tool listening on witness protocol RPC) to allow for notification of share |
| 58 | move, server failover, and server adapter changes. And also improve other |
| 59 | failover scenarios, e.g. when client knows multiple DFS entries point to |
| 60 | different servers, and the server we are connected to has gone down. |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 61 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 62 | q) Allow mount.cifs to be more verbose in reporting errors with dialect |
| 63 | or unsupported feature errors. |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 64 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 65 | r) updating cifs documentation, and user guide. |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 66 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 67 | s) Addressing bugs found by running a broader set of xfstests in standard |
| 68 | file system xfstest suite. |
| 69 | |
| 70 | t) split cifs and smb3 support into separate modules so legacy (and less |
| 71 | secure) CIFS dialect can be disabled in environments that don't need it |
| 72 | and simplify the code. |
| 73 | |
| 74 | u) Finish up SMB3.1.1 dialect support |
| 75 | |
| 76 | v) POSIX Extensions for SMB3.1.1 |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 77 | |
| 78 | KNOWN BUGS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 79 | ==================================== |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 80 | See http://bugzilla.samba.org - search on product "CifsVFS" for |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 81 | current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS) |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 82 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 83 | 1) existing symbolic links (Windows reparse points) are recognized but |
| 84 | can not be created remotely. They are implemented for Samba and those that |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 85 | support the CIFS Unix extensions, although earlier versions of Samba |
| 86 | overly restrict the pathnames. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | 2) follow_link and readdir code does not follow dfs junctions |
| 88 | but recognizes them |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | |
| 90 | Misc testing to do |
| 91 | ================== |
| 92 | 1) check out max path names and max path name components against various server |
| 93 | types. Try nested symlinks (8 deep). Return max path name in stat -f information |
| 94 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 95 | 2) Improve xfstest's cifs enablement and adapt xfstests where needed to test |
| 96 | cifs better |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 97 | |
| 98 | 3) Additional performance testing and optimization using iozone and similar - |
| 99 | there are some easy changes that can be done to parallelize sequential writes, |
| 100 | and when signing is disabled to request larger read sizes (larger than |
| 101 | negotiated size) and send larger write sizes to modern servers. |
| 102 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 103 | 4) More exhaustively test against less common servers |