]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - Documentation/filesystems/cifs/TODO
cifs: minor documentation updates
[mirror_ubuntu-jammy-kernel.git] / Documentation / filesystems / cifs / TODO
CommitLineData
e8bcdfdb 1Version 2.14 December 21, 2018
1da177e4
LT
2
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
e8bcdfdb 10a) SMB3 (and SMB3.1.1) missing optional features:
68dbe2f8 11 - multichannel (started), integration with RDMA
290c3982
SF
12 - directory leases (improved metadata caching), started (root dir only)
13 - T10 copy offload ie "ODX" (copy chunk, and "Duplicate Extents" ioctl
68dbe2f8 14 currently the only two server side copy mechanisms supported)
1da177e4 15
2075cf0b 16b) improved sparse file support
1da177e4 17
2075cf0b 18c) Directory entry caching relies on a 1 second timer, rather than
290c3982 19using Directory Leases, currently only the root file handle is cached longer
1da177e4 20
2075cf0b 21d) quota support (needs minor kernel change since quota calls
9a899e76 22to make it to network filesystems or deviceless filesystems)
1da177e4 23
e8bcdfdb
SF
24e) 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).
0e4bbde9 27
ec11653b 28f) Finish inotify support so kde and gnome file list windows
9a899e76
SF
29will autorefresh (partially complete by Asser). Needs minor kernel
30vfs change to support removing D_NOTIFY on a file.
1da177e4 31
ec11653b 32g) Add GUI tool to configure /proc/fs/cifs settings and for display of
1da177e4
LT
33the CIFS statistics (started)
34
ec11653b 35h) implement support for security and trusted categories of xattrs
1da177e4
LT
36(requires minor protocol extension) to enable better support for SELINUX
37
68dbe2f8
SF
38i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol
39 feature (may be especially useful for virtualization).
737b758c 40
ec11653b 41j) Create UID mapping facility so server UIDs can be mapped on a per
9ea1f8f5 42mount or a per server basis to client UIDs or nobody if no mapping
ec11653b
SF
43exists. Also better integration with winbind for resolving SID owners
44
45k) Add tools to take advantage of more smb3 specific ioctls and features
290c3982 46(passthrough ioctl/fsctl for sending various SMB3 fsctls to the server
e8bcdfdb
SF
47is 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)
ec11653b
SF
49
50l) encrypted file support
51
e8bcdfdb
SF
52m) improved stats gathering tools (perhaps integration with nfsometer?)
53to extend and make easier to use what is currently in /proc/fs/cifs/Stats
9ea1f8f5 54
ec11653b
SF
55n) 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.
2075cf0b 58
ec11653b 59o) mount helper GUI (to simplify the various configuration options on mount)
9a899e76 60
68dbe2f8
SF
61p) 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.
9a899e76 66
ec11653b
SF
67q) Allow mount.cifs to be more verbose in reporting errors with dialect
68or unsupported feature errors.
deb0420c 69
68dbe2f8 70r) updating cifs documentation, and user guide.
deb0420c 71
ec11653b
SF
72s) Addressing bugs found by running a broader set of xfstests in standard
73file system xfstest suite.
9a899e76 74
ec11653b
SF
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.
deb0420c 78
290c3982
SF
79v) POSIX Extensions for SMB3.1.1 (started, create and mkdir support added
80so far).
2075cf0b 81
e8bcdfdb
SF
82w) Add support for additional strong encryption types, and additional spnego
83authentication mechanisms (see MS-SMB2)
84
2075cf0b 85KNOWN BUGS
1da177e4 86====================================
6a0b4824 87See http://bugzilla.samba.org - search on product "CifsVFS" for
2075cf0b 88current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS)
6a0b4824 89
1da177e4
LT
901) existing symbolic links (Windows reparse points) are recognized but
91can not be created remotely. They are implemented for Samba and those that
6a0b4824
SF
92support the CIFS Unix extensions, although earlier versions of Samba
93overly restrict the pathnames.
1da177e4
LT
942) follow_link and readdir code does not follow dfs junctions
95but recognizes them
1da177e4
LT
96
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
290c3982
SF
1022) Improve xfstest's cifs/smb3 enablement and adapt xfstests where needed to test
103cifs/smb3 better
1da177e4
LT
104
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
2075cf0b 1104) More exhaustively test against less common servers
e8bcdfdb
SF
111
1125) Continue to extend the smb3 "buildbot" which does automated xfstesting
113against Windows, Samba and Azure currently - to add additional tests and
65525802
SF
114to allow the buildbot to execute the tests faster. The URL for the
115buildbot is: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com
e8bcdfdb
SF
116
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).