Steve French | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 1 | Version 2.14 December 21, 2018 |
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 | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 10 | a) SMB3 (and SMB3.1.1) missing optional features: |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 11 | - multichannel (started), integration with RDMA |
Steve French | 290c398 | 2018-06-13 16:46:56 -0500 | [diff] [blame] | 12 | - directory leases (improved metadata caching), started (root dir only) |
| 13 | - T10 copy offload ie "ODX" (copy chunk, and "Duplicate Extents" ioctl |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 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 | 290c398 | 2018-06-13 16:46:56 -0500 | [diff] [blame] | 19 | using Directory Leases, currently only the root file handle is cached longer |
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 | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 24 | e) Additional use cases where we use "compoounding" (e.g. open/query/close |
| 25 | and open/setinfo/close) to reduce the number of roundtrips, and also |
| 26 | open to reduce redundant opens (using deferred close and reference counts more). |
Steve French | 0e4bbde | 2008-05-20 19:50:46 +0000 | [diff] [blame] | 27 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 28 | f) Finish inotify support so kde and gnome file list windows |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 29 | will autorefresh (partially complete by Asser). Needs minor kernel |
| 30 | vfs change to support removing D_NOTIFY on a file. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 32 | 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] | 33 | the CIFS statistics (started) |
| 34 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 35 | h) implement support for security and trusted categories of xattrs |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | (requires minor protocol extension) to enable better support for SELINUX |
| 37 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 38 | i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol |
| 39 | feature (may be especially useful for virtualization). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 41 | 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] | 42 | mount or a per server basis to client UIDs or nobody if no mapping |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 43 | exists. Also better integration with winbind for resolving SID owners |
Steve French | 9ea1f8f | 2005-04-30 11:10:58 -0700 | [diff] [blame] | 44 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 45 | k) Add tools to take advantage of more smb3 specific ioctls and features |
Steve French | 290c398 | 2018-06-13 16:46:56 -0500 | [diff] [blame] | 46 | (passthrough ioctl/fsctl for sending various SMB3 fsctls to the server |
Steve French | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 47 | is in progress, and a passthrough query_info call is already implemented |
| 48 | in cifs.ko to allow smb3 info levels queries to be sent from userspace) |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 49 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 50 | l) encrypted file support |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 51 | |
Steve French | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 52 | m) improved stats gathering tools (perhaps integration with nfsometer?) |
| 53 | to extend and make easier to use what is currently in /proc/fs/cifs/Stats |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 54 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 55 | n) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed |
| 56 | file attribute via chflags) and improve user space tools for managing and |
| 57 | viewing them. |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 58 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 59 | o) mount helper GUI (to simplify the various configuration options on mount) |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 60 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 61 | p) Add support for witness protocol (perhaps ioctl to cifs.ko from user space |
| 62 | tool listening on witness protocol RPC) to allow for notification of share |
| 63 | move, server failover, and server adapter changes. And also improve other |
| 64 | failover scenarios, e.g. when client knows multiple DFS entries point to |
| 65 | different servers, and the server we are connected to has gone down. |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 66 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 67 | q) Allow mount.cifs to be more verbose in reporting errors with dialect |
| 68 | or unsupported feature errors. |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 69 | |
Steve French | 68dbe2f | 2018-02-13 16:52:51 -0600 | [diff] [blame] | 70 | r) updating cifs documentation, and user guide. |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 71 | |
Steve French | ec11653b | 2017-09-14 14:51:20 -0500 | [diff] [blame] | 72 | s) Addressing bugs found by running a broader set of xfstests in standard |
| 73 | file system xfstest suite. |
| 74 | |
| 75 | t) split cifs and smb3 support into separate modules so legacy (and less |
| 76 | secure) CIFS dialect can be disabled in environments that don't need it |
| 77 | and simplify the code. |
| 78 | |
Steve French | 290c398 | 2018-06-13 16:46:56 -0500 | [diff] [blame] | 79 | v) POSIX Extensions for SMB3.1.1 (started, create and mkdir support added |
| 80 | so far). |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 81 | |
Steve French | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 82 | w) Add support for additional strong encryption types, and additional spnego |
| 83 | authentication mechanisms (see MS-SMB2) |
| 84 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 85 | KNOWN BUGS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | ==================================== |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 87 | See http://bugzilla.samba.org - search on product "CifsVFS" for |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 88 | 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] | 89 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | 1) existing symbolic links (Windows reparse points) are recognized but |
| 91 | 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] | 92 | support the CIFS Unix extensions, although earlier versions of Samba |
| 93 | overly restrict the pathnames. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 94 | 2) follow_link and readdir code does not follow dfs junctions |
| 95 | but recognizes them |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 96 | |
| 97 | Misc testing to do |
| 98 | ================== |
| 99 | 1) check out max path names and max path name components against various server |
| 100 | types. Try nested symlinks (8 deep). Return max path name in stat -f information |
| 101 | |
Steve French | 290c398 | 2018-06-13 16:46:56 -0500 | [diff] [blame] | 102 | 2) Improve xfstest's cifs/smb3 enablement and adapt xfstests where needed to test |
| 103 | cifs/smb3 better |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | |
| 105 | 3) Additional performance testing and optimization using iozone and similar - |
| 106 | there are some easy changes that can be done to parallelize sequential writes, |
| 107 | and when signing is disabled to request larger read sizes (larger than |
| 108 | negotiated size) and send larger write sizes to modern servers. |
| 109 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 110 | 4) More exhaustively test against less common servers |
Steve French | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 111 | |
| 112 | 5) Continue to extend the smb3 "buildbot" which does automated xfstesting |
| 113 | against Windows, Samba and Azure currently - to add additional tests and |
Steve French | 6552580 | 2019-03-13 18:21:38 -0500 | [diff] [blame] | 114 | to allow the buildbot to execute the tests faster. The URL for the |
| 115 | buildbot is: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com |
Steve French | e8bcdfd | 2018-12-21 00:44:32 -0600 | [diff] [blame] | 116 | |
| 117 | 6) Address various coverity warnings (most are not bugs per-se, but |
| 118 | the more warnings are addressed, the easier it is to spot real |
| 119 | problems that static analyzers will point out in the future). |