Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 1 | Version 2.03 August 1, 2014 |
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: |
| 11 | - RDMA |
| 12 | - multichannel (started) |
| 13 | - directory leases (improved metadata caching) |
| 14 | - T10 copy offload (copy chunk is only mechanism supported) |
| 15 | - encrypted shares |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 17 | b) improved sparse file support |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 18 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 19 | c) Directory entry caching relies on a 1 second timer, rather than |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | using FindNotify or equivalent. - (started) |
| 21 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 22 | d) quota support (needs minor kernel change since quota calls |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 23 | to make it to network filesystems or deviceless filesystems) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 25 | e) improve support for very old servers (OS/2 and Win9x for example) |
Steve French | 0e4bbde | 2008-05-20 19:50:46 +0000 | [diff] [blame] | 26 | Including support for changing the time remotely (utimes command). |
| 27 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 28 | f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | extra copy in/out of the socket buffers in some cases. |
| 30 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 31 | g) Better optimize open (and pathbased setfilesize) to reduce the |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | oplock breaks coming from windows srv. Piggyback identical file |
| 33 | opens on top of each other by incrementing reference count rather |
| 34 | than resending (helps reduce server resource utilization and avoid |
| 35 | spurious oplock breaks). |
| 36 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 37 | h) Add support for storing symlink info to Windows servers |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | in the Extended Attribute format their SFU clients would recognize. |
| 39 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 40 | i) Finish inotify support so kde and gnome file list windows |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 41 | will autorefresh (partially complete by Asser). Needs minor kernel |
| 42 | vfs change to support removing D_NOTIFY on a file. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 44 | j) 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] | 45 | the CIFS statistics (started) |
| 46 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 47 | k) implement support for security and trusted categories of xattrs |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | (requires minor protocol extension) to enable better support for SELINUX |
| 49 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 50 | l) Implement O_DIRECT flag on open (already supported on mount) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 52 | m) 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] | 53 | mount or a per server basis to client UIDs or nobody if no mapping |
| 54 | exists. This is helpful when Unix extensions are negotiated to |
| 55 | allow better permission checking when UIDs differ on the server |
| 56 | and client. Add new protocol request to the CIFS protocol |
| 57 | standard for asking the server for the corresponding name of a |
| 58 | particular uid. |
| 59 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 60 | n) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too) |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 61 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 62 | o) mount check for unmatched uids |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 63 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 64 | p) Add support for new vfs entry point for fallocate |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 65 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 66 | q) Add tools to take advantage of cifs/smb3 specific ioctls and features |
| 67 | such as "CopyChunk" (fast server side file copy) |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 68 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 69 | r) encrypted file support |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 70 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 71 | s) improved stats gathering, tools (perhaps integration with nfsometer?) |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 72 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 73 | t) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed |
| 74 | file attribute via chflags) |
Steve French | deb0420 | 2007-04-26 14:35:54 +0000 | [diff] [blame] | 75 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 76 | u) mount helper GUI (to simplify the various configuration options on mount) |
| 77 | |
| 78 | |
| 79 | KNOWN BUGS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | ==================================== |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 81 | See http://bugzilla.samba.org - search on product "CifsVFS" for |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 82 | 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] | 83 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | 1) existing symbolic links (Windows reparse points) are recognized but |
| 85 | 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] | 86 | support the CIFS Unix extensions, although earlier versions of Samba |
| 87 | overly restrict the pathnames. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 88 | 2) follow_link and readdir code does not follow dfs junctions |
| 89 | but recognizes them |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | |
| 91 | Misc testing to do |
| 92 | ================== |
| 93 | 1) check out max path names and max path name components against various server |
| 94 | types. Try nested symlinks (8 deep). Return max path name in stat -f information |
| 95 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 96 | 2) Improve xfstest's cifs enablement and adapt xfstests where needed to test |
| 97 | cifs better |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | |
| 99 | 3) Additional performance testing and optimization using iozone and similar - |
| 100 | there are some easy changes that can be done to parallelize sequential writes, |
| 101 | and when signing is disabled to request larger read sizes (larger than |
| 102 | negotiated size) and send larger write sizes to modern servers. |
| 103 | |
Steve French | 2075cf0 | 2014-08-01 16:00:01 -0500 | [diff] [blame] | 104 | 4) More exhaustively test against less common servers |