Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 1 | Version 2.04 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 | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 11 | - RDMA (started) |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 12 | - multichannel (started) |
| 13 | - directory leases (improved metadata caching) |
| 14 | - T10 copy offload (copy chunk is only mechanism 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 | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 24 | e) Better optimize open to reduce redundant opens (using reference |
| 25 | counts more) and to improve use of compounding in SMB3 to reduce |
| 26 | number of roundtrips. |
Steve French | 0e4bbde | 2008-05-20 19:50:46 +0000 | [diff] [blame] | 27 | |
Steve French | ec11653 | 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 | ec11653 | 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 | ec11653 | 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 | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 38 | i) Implement O_DIRECT flag on open (already supported on mount) |
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 | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 56 | p) autonegotiation of dialects (offering more than one dialect ie SMB3.02, |
| 57 | SMB3, SMB2.1 not just SMB3). |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 58 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 59 | q) Allow mount.cifs to be more verbose in reporting errors with dialect |
| 60 | or unsupported feature errors. |
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 | r) updating cifs documentation, and user guid. |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 63 | |
Steve French | ec11653 | 2017-09-14 14:51:20 -0500 | [diff] [blame^] | 64 | s) Addressing bugs found by running a broader set of xfstests in standard |
| 65 | file system xfstest suite. |
| 66 | |
| 67 | t) split cifs and smb3 support into separate modules so legacy (and less |
| 68 | secure) CIFS dialect can be disabled in environments that don't need it |
| 69 | and simplify the code. |
| 70 | |
| 71 | u) Finish up SMB3.1.1 dialect support |
| 72 | |
| 73 | v) POSIX Extensions for SMB3.1.1 |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 74 | |
| 75 | KNOWN BUGS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | ==================================== |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 77 | See http://bugzilla.samba.org - search on product "CifsVFS" for |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 78 | 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] | 79 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | 1) existing symbolic links (Windows reparse points) are recognized but |
| 81 | 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] | 82 | support the CIFS Unix extensions, although earlier versions of Samba |
| 83 | overly restrict the pathnames. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | 2) follow_link and readdir code does not follow dfs junctions |
| 85 | but recognizes them |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | |
| 87 | Misc testing to do |
| 88 | ================== |
| 89 | 1) check out max path names and max path name components against various server |
| 90 | types. Try nested symlinks (8 deep). Return max path name in stat -f information |
| 91 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 92 | 2) Improve xfstest's cifs enablement and adapt xfstests where needed to test |
| 93 | cifs better |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 94 | |
| 95 | 3) Additional performance testing and optimization using iozone and similar - |
| 96 | there are some easy changes that can be done to parallelize sequential writes, |
| 97 | and when signing is disabled to request larger read sizes (larger than |
| 98 | negotiated size) and send larger write sizes to modern servers. |
| 99 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 100 | 4) More exhaustively test against less common servers |