2019-07-31 20:08:51 +00:00
|
|
|
====
|
|
|
|
TODO
|
|
|
|
====
|
|
|
|
|
2018-12-21 06:44:32 +00:00
|
|
|
Version 2.14 December 21, 2018
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
A Partial List of Missing Features
|
|
|
|
==================================
|
|
|
|
|
|
|
|
Contributions are welcome. There are plenty of opportunities
|
|
|
|
for visible, important contributions to this module. Here
|
|
|
|
is a partial list of the known problems and missing features:
|
|
|
|
|
2018-12-21 06:44:32 +00:00
|
|
|
a) SMB3 (and SMB3.1.1) missing optional features:
|
2019-07-31 20:08:51 +00:00
|
|
|
|
2021-02-16 05:56:40 +00:00
|
|
|
- multichannel (partially integrated), integration of multichannel with RDMA
|
|
|
|
- directory leases (improved metadata caching). Currently only implemented for root dir
|
2018-06-13 21:46:56 +00:00
|
|
|
- T10 copy offload ie "ODX" (copy chunk, and "Duplicate Extents" ioctl
|
2018-02-13 22:52:51 +00:00
|
|
|
currently the only two server side copy mechanisms supported)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2019-07-31 21:41:03 +00:00
|
|
|
b) improved sparse file support (fiemap and SEEK_HOLE are implemented
|
2021-02-16 05:56:40 +00:00
|
|
|
but additional features would be supportable by the protocol such
|
|
|
|
as FALLOC_FL_COLLAPSE_RANGE and FALLOC_FL_INSERT_RANGE)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2014-08-01 21:00:01 +00:00
|
|
|
c) Directory entry caching relies on a 1 second timer, rather than
|
2019-07-31 20:08:51 +00:00
|
|
|
using Directory Leases, currently only the root file handle is cached longer
|
2021-02-16 05:56:40 +00:00
|
|
|
by leveraging Directory Leases
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2021-02-16 05:56:40 +00:00
|
|
|
d) quota support (needs minor kernel change since quota calls otherwise
|
|
|
|
won't make it to network filesystems or deviceless filesystems).
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2019-09-17 23:22:26 +00:00
|
|
|
e) Additional use cases can be optimized to use "compounding" (e.g.
|
|
|
|
open/query/close and open/setinfo/close) to reduce the number of
|
|
|
|
roundtrips to the server and improve performance. Various cases
|
2021-02-16 05:56:40 +00:00
|
|
|
(stat, statfs, create, unlink, mkdir, xattrs) already have been improved by
|
2019-09-17 23:22:26 +00:00
|
|
|
using compounding but more can be done. In addition we could
|
|
|
|
significantly reduce redundant opens by using deferred close (with
|
|
|
|
handle caching leases) and better using reference counters on file
|
|
|
|
handles.
|
2008-05-20 19:50:46 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
f) Finish inotify support so kde and gnome file list windows
|
2019-07-31 20:08:51 +00:00
|
|
|
will autorefresh (partially complete by Asser). Needs minor kernel
|
|
|
|
vfs change to support removing D_NOTIFY on a file.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
g) Add GUI tool to configure /proc/fs/cifs settings and for display of
|
2019-07-31 20:08:51 +00:00
|
|
|
the CIFS statistics (started)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
h) implement support for security and trusted categories of xattrs
|
2019-07-31 20:08:51 +00:00
|
|
|
(requires minor protocol extension) to enable better support for SELINUX
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2018-02-13 22:52:51 +00:00
|
|
|
i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol
|
|
|
|
feature (may be especially useful for virtualization).
|
2005-04-29 05:41:06 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
j) Create UID mapping facility so server UIDs can be mapped on a per
|
2019-07-31 20:08:51 +00:00
|
|
|
mount or a per server basis to client UIDs or nobody if no mapping
|
|
|
|
exists. Also better integration with winbind for resolving SID owners
|
2017-09-14 19:51:20 +00:00
|
|
|
|
|
|
|
k) Add tools to take advantage of more smb3 specific ioctls and features
|
2019-09-17 23:22:26 +00:00
|
|
|
(passthrough ioctl/fsctl is now implemented in cifs.ko to allow
|
|
|
|
sending various SMB3 fsctls and query info and set info calls
|
|
|
|
directly from user space) Add tools to make setting various non-POSIX
|
|
|
|
metadata attributes easier from tools (e.g. extending what was done
|
|
|
|
in smb-info tool).
|
2017-09-14 19:51:20 +00:00
|
|
|
|
2021-02-16 05:56:40 +00:00
|
|
|
l) encrypted file support (currently the attribute showing the file is
|
|
|
|
encrypted on the server is reported, but changing the attribute is not
|
|
|
|
supported).
|
2017-09-14 19:51:20 +00:00
|
|
|
|
2018-12-21 06:44:32 +00:00
|
|
|
m) improved stats gathering tools (perhaps integration with nfsometer?)
|
2019-07-31 20:08:51 +00:00
|
|
|
to extend and make easier to use what is currently in /proc/fs/cifs/Stats
|
2005-04-30 18:10:58 +00:00
|
|
|
|
2019-07-31 21:41:03 +00:00
|
|
|
n) Add support for claims based ACLs ("DAC")
|
2014-08-01 21:00:01 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
o) mount helper GUI (to simplify the various configuration options on mount)
|
2005-09-06 22:55:49 +00:00
|
|
|
|
2021-02-16 05:56:40 +00:00
|
|
|
p) Expand support for witness protocol to allow for notification of share
|
|
|
|
move, and server network adapter changes. Currently only notifications by
|
|
|
|
the witness protocol for server move is supported by the Linux client.
|
2005-09-06 22:55:49 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
q) Allow mount.cifs to be more verbose in reporting errors with dialect
|
2021-02-16 05:56:40 +00:00
|
|
|
or unsupported feature errors. This would now be easier due to the
|
|
|
|
implementation of the new mount API.
|
2007-04-26 14:35:54 +00:00
|
|
|
|
2018-02-13 22:52:51 +00:00
|
|
|
r) updating cifs documentation, and user guide.
|
2007-04-26 14:35:54 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
s) Addressing bugs found by running a broader set of xfstests in standard
|
2019-07-31 20:08:51 +00:00
|
|
|
file system xfstest suite.
|
2005-09-06 22:55:49 +00:00
|
|
|
|
2017-09-14 19:51:20 +00:00
|
|
|
t) split cifs and smb3 support into separate modules so legacy (and less
|
2019-07-31 20:08:51 +00:00
|
|
|
secure) CIFS dialect can be disabled in environments that don't need it
|
|
|
|
and simplify the code.
|
2007-04-26 14:35:54 +00:00
|
|
|
|
2021-02-16 05:56:40 +00:00
|
|
|
v) Additional testing of POSIX Extensions for SMB3.1.1
|
2014-08-01 21:00:01 +00:00
|
|
|
|
2018-12-21 06:44:32 +00:00
|
|
|
w) Add support for additional strong encryption types, and additional spnego
|
2021-02-16 05:56:40 +00:00
|
|
|
authentication mechanisms (see MS-SMB2). GCM-256 is now partially implemented.
|
2018-12-21 06:44:32 +00:00
|
|
|
|
2019-07-31 21:41:03 +00:00
|
|
|
x) Finish support for SMB3.1.1 compression
|
|
|
|
|
2019-07-31 20:08:51 +00:00
|
|
|
Known Bugs
|
|
|
|
==========
|
2018-12-21 06:44:32 +00:00
|
|
|
|
2020-06-27 10:31:25 +00:00
|
|
|
See https://bugzilla.samba.org - search on product "CifsVFS" for
|
2014-08-01 21:00:01 +00:00
|
|
|
current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS)
|
2005-04-29 05:41:05 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
1) existing symbolic links (Windows reparse points) are recognized but
|
2019-07-31 20:08:51 +00:00
|
|
|
can not be created remotely. They are implemented for Samba and those that
|
|
|
|
support the CIFS Unix extensions, although earlier versions of Samba
|
|
|
|
overly restrict the pathnames.
|
2005-04-16 22:20:36 +00:00
|
|
|
2) follow_link and readdir code does not follow dfs junctions
|
2019-07-31 20:08:51 +00:00
|
|
|
but recognizes them
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
Misc testing to do
|
|
|
|
==================
|
|
|
|
1) check out max path names and max path name components against various server
|
2019-07-31 20:08:51 +00:00
|
|
|
types. Try nested symlinks (8 deep). Return max path name in stat -f information
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2018-06-13 21:46:56 +00:00
|
|
|
2) Improve xfstest's cifs/smb3 enablement and adapt xfstests where needed to test
|
2019-07-31 20:08:51 +00:00
|
|
|
cifs/smb3 better
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2019-07-31 20:08:51 +00:00
|
|
|
3) Additional performance testing and optimization using iozone and similar -
|
|
|
|
there are some easy changes that can be done to parallelize sequential writes,
|
|
|
|
and when signing is disabled to request larger read sizes (larger than
|
|
|
|
negotiated size) and send larger write sizes to modern servers.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2014-08-01 21:00:01 +00:00
|
|
|
4) More exhaustively test against less common servers
|
2018-12-21 06:44:32 +00:00
|
|
|
|
|
|
|
5) Continue to extend the smb3 "buildbot" which does automated xfstesting
|
2019-07-31 20:08:51 +00:00
|
|
|
against Windows, Samba and Azure currently - to add additional tests and
|
|
|
|
to allow the buildbot to execute the tests faster. The URL for the
|
|
|
|
buildbot is: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com
|
2018-12-21 06:44:32 +00:00
|
|
|
|
|
|
|
6) Address various coverity warnings (most are not bugs per-se, but
|
2019-07-31 20:08:51 +00:00
|
|
|
the more warnings are addressed, the easier it is to spot real
|
|
|
|
problems that static analyzers will point out in the future).
|