blob: 9267f3fb131f9b5cf0e027ba9bdd9ff51a93d5b8 [file] [log] [blame]
Steve Frenche8bcdfd2018-12-21 00:44:32 -06001Version 2.14 December 21, 2018
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
3A Partial List of Missing Features
4==================================
5
6Contributions are welcome. There are plenty of opportunities
7for visible, important contributions to this module. Here
8is a partial list of the known problems and missing features:
9
Steve Frenche8bcdfd2018-12-21 00:44:32 -060010a) SMB3 (and SMB3.1.1) missing optional features:
Steve French68dbe2f2018-02-13 16:52:51 -060011 - multichannel (started), integration with RDMA
Steve French290c3982018-06-13 16:46:56 -050012 - directory leases (improved metadata caching), started (root dir only)
13 - T10 copy offload ie "ODX" (copy chunk, and "Duplicate Extents" ioctl
Steve French68dbe2f2018-02-13 16:52:51 -060014 currently the only two server side copy mechanisms supported)
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Steve French2075cf02014-08-01 16:00:01 -050016b) improved sparse file support
Steve French9a899e72005-09-06 15:55:49 -070017
Steve French2075cf02014-08-01 16:00:01 -050018c) Directory entry caching relies on a 1 second timer, rather than
Steve French290c3982018-06-13 16:46:56 -050019using Directory Leases, currently only the root file handle is cached longer
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Steve French2075cf02014-08-01 16:00:01 -050021d) quota support (needs minor kernel change since quota calls
Steve French9a899e72005-09-06 15:55:49 -070022to make it to network filesystems or deviceless filesystems)
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Steve Frenche8bcdfd2018-12-21 00:44:32 -060024e) Additional use cases where we use "compoounding" (e.g. open/query/close
25and open/setinfo/close) to reduce the number of roundtrips, and also
26open to reduce redundant opens (using deferred close and reference counts more).
Steve French0e4bbde2008-05-20 19:50:46 +000027
Steve Frenchec11653b2017-09-14 14:51:20 -050028f) Finish inotify support so kde and gnome file list windows
Steve French9a899e72005-09-06 15:55:49 -070029will autorefresh (partially complete by Asser). Needs minor kernel
30vfs change to support removing D_NOTIFY on a file.
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
Steve Frenchec11653b2017-09-14 14:51:20 -050032g) Add GUI tool to configure /proc/fs/cifs settings and for display of
Linus Torvalds1da177e2005-04-16 15:20:36 -070033the CIFS statistics (started)
34
Steve Frenchec11653b2017-09-14 14:51:20 -050035h) implement support for security and trusted categories of xattrs
Linus Torvalds1da177e2005-04-16 15:20:36 -070036(requires minor protocol extension) to enable better support for SELINUX
37
Steve French68dbe2f2018-02-13 16:52:51 -060038i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol
39 feature (may be especially useful for virtualization).
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
Steve Frenchec11653b2017-09-14 14:51:20 -050041j) Create UID mapping facility so server UIDs can be mapped on a per
Steve French9ea1f8f2005-04-30 11:10:58 -070042mount or a per server basis to client UIDs or nobody if no mapping
Steve Frenchec11653b2017-09-14 14:51:20 -050043exists. Also better integration with winbind for resolving SID owners
Steve French9ea1f8f2005-04-30 11:10:58 -070044
Steve Frenchec11653b2017-09-14 14:51:20 -050045k) Add tools to take advantage of more smb3 specific ioctls and features
Steve French290c3982018-06-13 16:46:56 -050046(passthrough ioctl/fsctl for sending various SMB3 fsctls to the server
Steve Frenche8bcdfd2018-12-21 00:44:32 -060047is in progress, and a passthrough query_info call is already implemented
48in cifs.ko to allow smb3 info levels queries to be sent from userspace)
Steve French9a899e72005-09-06 15:55:49 -070049
Steve Frenchec11653b2017-09-14 14:51:20 -050050l) encrypted file support
Steve French9a899e72005-09-06 15:55:49 -070051
Steve Frenche8bcdfd2018-12-21 00:44:32 -060052m) improved stats gathering tools (perhaps integration with nfsometer?)
53to extend and make easier to use what is currently in /proc/fs/cifs/Stats
Steve French9a899e72005-09-06 15:55:49 -070054
Steve Frenchec11653b2017-09-14 14:51:20 -050055n) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed
56file attribute via chflags) and improve user space tools for managing and
57viewing them.
Steve Frenchdeb04202007-04-26 14:35:54 +000058
Steve Frenchec11653b2017-09-14 14:51:20 -050059o) mount helper GUI (to simplify the various configuration options on mount)
Steve Frenchdeb04202007-04-26 14:35:54 +000060
Steve French68dbe2f2018-02-13 16:52:51 -060061p) 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 Frenchdeb04202007-04-26 14:35:54 +000066
Steve Frenchec11653b2017-09-14 14:51:20 -050067q) Allow mount.cifs to be more verbose in reporting errors with dialect
68or unsupported feature errors.
Steve Frenchdeb04202007-04-26 14:35:54 +000069
Steve French68dbe2f2018-02-13 16:52:51 -060070r) updating cifs documentation, and user guide.
Steve French2075cf02014-08-01 16:00:01 -050071
Steve Frenchec11653b2017-09-14 14:51:20 -050072s) Addressing bugs found by running a broader set of xfstests in standard
73file system xfstest suite.
74
75t) split cifs and smb3 support into separate modules so legacy (and less
76secure) CIFS dialect can be disabled in environments that don't need it
77and simplify the code.
78
Steve French290c3982018-06-13 16:46:56 -050079v) POSIX Extensions for SMB3.1.1 (started, create and mkdir support added
80so far).
Steve French2075cf02014-08-01 16:00:01 -050081
Steve Frenche8bcdfd2018-12-21 00:44:32 -060082w) Add support for additional strong encryption types, and additional spnego
83authentication mechanisms (see MS-SMB2)
84
Steve French2075cf02014-08-01 16:00:01 -050085KNOWN BUGS
Linus Torvalds1da177e2005-04-16 15:20:36 -070086====================================
Steve French6a0b4822005-04-28 22:41:05 -070087See http://bugzilla.samba.org - search on product "CifsVFS" for
Steve French2075cf02014-08-01 16:00:01 -050088current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS)
Steve French6a0b4822005-04-28 22:41:05 -070089
Linus Torvalds1da177e2005-04-16 15:20:36 -0700901) existing symbolic links (Windows reparse points) are recognized but
91can not be created remotely. They are implemented for Samba and those that
Steve French6a0b4822005-04-28 22:41:05 -070092support the CIFS Unix extensions, although earlier versions of Samba
93overly restrict the pathnames.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700942) follow_link and readdir code does not follow dfs junctions
95but recognizes them
Linus Torvalds1da177e2005-04-16 15:20:36 -070096
97Misc testing to do
98==================
991) check out max path names and max path name components against various server
100types. Try nested symlinks (8 deep). Return max path name in stat -f information
101
Steve French290c3982018-06-13 16:46:56 -05001022) Improve xfstest's cifs/smb3 enablement and adapt xfstests where needed to test
103cifs/smb3 better
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104
1053) Additional performance testing and optimization using iozone and similar -
106there are some easy changes that can be done to parallelize sequential writes,
107and when signing is disabled to request larger read sizes (larger than
108negotiated size) and send larger write sizes to modern servers.
109
Steve French2075cf02014-08-01 16:00:01 -05001104) More exhaustively test against less common servers
Steve Frenche8bcdfd2018-12-21 00:44:32 -0600111
1125) Continue to extend the smb3 "buildbot" which does automated xfstesting
113against Windows, Samba and Azure currently - to add additional tests and
Steve French65525802019-03-13 18:21:38 -0500114to allow the buildbot to execute the tests faster. The URL for the
115buildbot is: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com
Steve Frenche8bcdfd2018-12-21 00:44:32 -0600116
1176) Address various coverity warnings (most are not bugs per-se, but
118the more warnings are addressed, the easier it is to spot real
119problems that static analyzers will point out in the future).