update CIFS TODO list
Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
480e83275a
commit
2075cf0b71
|
@ -1,4 +1,4 @@
|
||||||
Version 1.53 May 20, 2008
|
Version 2.03 August 1, 2014
|
||||||
|
|
||||||
A Partial List of Missing Features
|
A Partial List of Missing Features
|
||||||
==================================
|
==================================
|
||||||
|
@ -7,63 +7,49 @@ Contributions are welcome. There are plenty of opportunities
|
||||||
for visible, important contributions to this module. Here
|
for visible, important contributions to this module. Here
|
||||||
is a partial list of the known problems and missing features:
|
is a partial list of the known problems and missing features:
|
||||||
|
|
||||||
a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown
|
a) SMB3 (and SMB3.02) missing optional features:
|
||||||
so that these operations can be supported to Windows servers
|
- RDMA
|
||||||
|
- multichannel (started)
|
||||||
|
- directory leases (improved metadata caching)
|
||||||
|
- T10 copy offload (copy chunk is only mechanism supported)
|
||||||
|
- encrypted shares
|
||||||
|
|
||||||
b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
|
b) improved sparse file support
|
||||||
SecurityDescriptors
|
|
||||||
|
|
||||||
c) Better pam/winbind integration (e.g. to handle uid mapping
|
c) Directory entry caching relies on a 1 second timer, rather than
|
||||||
better)
|
|
||||||
|
|
||||||
d) Cleanup now unneeded SessSetup code in
|
|
||||||
fs/cifs/connect.c and add back in NTLMSSP code if any servers
|
|
||||||
need it
|
|
||||||
|
|
||||||
e) fix NTLMv2 signing when two mounts with different users to same
|
|
||||||
server.
|
|
||||||
|
|
||||||
f) Directory entry caching relies on a 1 second timer, rather than
|
|
||||||
using FindNotify or equivalent. - (started)
|
using FindNotify or equivalent. - (started)
|
||||||
|
|
||||||
g) quota support (needs minor kernel change since quota calls
|
d) quota support (needs minor kernel change since quota calls
|
||||||
to make it to network filesystems or deviceless filesystems)
|
to make it to network filesystems or deviceless filesystems)
|
||||||
|
|
||||||
h) investigate sync behavior (including syncpage) and check
|
e) improve support for very old servers (OS/2 and Win9x for example)
|
||||||
for proper behavior of intr/nointr
|
|
||||||
|
|
||||||
i) improve support for very old servers (OS/2 and Win9x for example)
|
|
||||||
Including support for changing the time remotely (utimes command).
|
Including support for changing the time remotely (utimes command).
|
||||||
|
|
||||||
j) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
|
f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
|
||||||
extra copy in/out of the socket buffers in some cases.
|
extra copy in/out of the socket buffers in some cases.
|
||||||
|
|
||||||
k) Better optimize open (and pathbased setfilesize) to reduce the
|
g) Better optimize open (and pathbased setfilesize) to reduce the
|
||||||
oplock breaks coming from windows srv. Piggyback identical file
|
oplock breaks coming from windows srv. Piggyback identical file
|
||||||
opens on top of each other by incrementing reference count rather
|
opens on top of each other by incrementing reference count rather
|
||||||
than resending (helps reduce server resource utilization and avoid
|
than resending (helps reduce server resource utilization and avoid
|
||||||
spurious oplock breaks).
|
spurious oplock breaks).
|
||||||
|
|
||||||
l) Improve performance of readpages by sending more than one read
|
h) Add support for storing symlink info to Windows servers
|
||||||
at a time when 8 pages or more are requested. In conjuntion
|
|
||||||
add support for async_cifs_readpages.
|
|
||||||
|
|
||||||
m) Add support for storing symlink info to Windows servers
|
|
||||||
in the Extended Attribute format their SFU clients would recognize.
|
in the Extended Attribute format their SFU clients would recognize.
|
||||||
|
|
||||||
n) Finish fcntl D_NOTIFY support so kde and gnome file list windows
|
i) Finish inotify support so kde and gnome file list windows
|
||||||
will autorefresh (partially complete by Asser). Needs minor kernel
|
will autorefresh (partially complete by Asser). Needs minor kernel
|
||||||
vfs change to support removing D_NOTIFY on a file.
|
vfs change to support removing D_NOTIFY on a file.
|
||||||
|
|
||||||
o) Add GUI tool to configure /proc/fs/cifs settings and for display of
|
j) Add GUI tool to configure /proc/fs/cifs settings and for display of
|
||||||
the CIFS statistics (started)
|
the CIFS statistics (started)
|
||||||
|
|
||||||
p) implement support for security and trusted categories of xattrs
|
k) implement support for security and trusted categories of xattrs
|
||||||
(requires minor protocol extension) to enable better support for SELINUX
|
(requires minor protocol extension) to enable better support for SELINUX
|
||||||
|
|
||||||
q) Implement O_DIRECT flag on open (already supported on mount)
|
l) Implement O_DIRECT flag on open (already supported on mount)
|
||||||
|
|
||||||
r) Create UID mapping facility so server UIDs can be mapped on a per
|
m) Create UID mapping facility so server UIDs can be mapped on a per
|
||||||
mount or a per server basis to client UIDs or nobody if no mapping
|
mount or a per server basis to client UIDs or nobody if no mapping
|
||||||
exists. This is helpful when Unix extensions are negotiated to
|
exists. This is helpful when Unix extensions are negotiated to
|
||||||
allow better permission checking when UIDs differ on the server
|
allow better permission checking when UIDs differ on the server
|
||||||
|
@ -71,28 +57,29 @@ and client. Add new protocol request to the CIFS protocol
|
||||||
standard for asking the server for the corresponding name of a
|
standard for asking the server for the corresponding name of a
|
||||||
particular uid.
|
particular uid.
|
||||||
|
|
||||||
s) Add support for CIFS Unix and also the newer POSIX extensions to the
|
n) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
|
||||||
server side for Samba 4.
|
|
||||||
|
|
||||||
t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers)
|
o) mount check for unmatched uids
|
||||||
need to add ability to set time to server (utimes command)
|
|
||||||
|
|
||||||
u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
|
p) Add support for new vfs entry point for fallocate
|
||||||
|
|
||||||
v) mount check for unmatched uids
|
q) Add tools to take advantage of cifs/smb3 specific ioctls and features
|
||||||
|
such as "CopyChunk" (fast server side file copy)
|
||||||
|
|
||||||
w) Add support for new vfs entry point for fallocate
|
r) encrypted file support
|
||||||
|
|
||||||
x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of
|
s) improved stats gathering, tools (perhaps integration with nfsometer?)
|
||||||
processes can proceed better in parallel (on the server)
|
|
||||||
|
|
||||||
y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mount
|
t) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed
|
||||||
restriction of wsize max being 127K)
|
file attribute via chflags)
|
||||||
|
|
||||||
KNOWN BUGS (updated April 24, 2007)
|
u) mount helper GUI (to simplify the various configuration options on mount)
|
||||||
|
|
||||||
|
|
||||||
|
KNOWN BUGS
|
||||||
====================================
|
====================================
|
||||||
See http://bugzilla.samba.org - search on product "CifsVFS" for
|
See http://bugzilla.samba.org - search on product "CifsVFS" for
|
||||||
current bug list.
|
current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS)
|
||||||
|
|
||||||
1) existing symbolic links (Windows reparse points) are recognized but
|
1) existing symbolic links (Windows reparse points) are recognized but
|
||||||
can not be created remotely. They are implemented for Samba and those that
|
can not be created remotely. They are implemented for Samba and those that
|
||||||
|
@ -100,30 +87,18 @@ support the CIFS Unix extensions, although earlier versions of Samba
|
||||||
overly restrict the pathnames.
|
overly restrict the pathnames.
|
||||||
2) follow_link and readdir code does not follow dfs junctions
|
2) follow_link and readdir code does not follow dfs junctions
|
||||||
but recognizes them
|
but recognizes them
|
||||||
3) create of new files to FAT partitions on Windows servers can
|
|
||||||
succeed but still return access denied (appears to be Windows
|
|
||||||
server not cifs client problem) and has not been reproduced recently.
|
|
||||||
NTFS partitions do not have this problem.
|
|
||||||
4) Unix/POSIX capabilities are reset after reconnection, and affect
|
|
||||||
a few fields in the tree connection but we do do not know which
|
|
||||||
superblocks to apply these changes to. We should probably walk
|
|
||||||
the list of superblocks to set these. Also need to check the
|
|
||||||
flags on the second mount to the same share, and see if we
|
|
||||||
can do the same trick that NFS does to remount duplicate shares.
|
|
||||||
|
|
||||||
Misc testing to do
|
Misc testing to do
|
||||||
==================
|
==================
|
||||||
1) check out max path names and max path name components against various server
|
1) check out max path names and max path name components against various server
|
||||||
types. Try nested symlinks (8 deep). Return max path name in stat -f information
|
types. Try nested symlinks (8 deep). Return max path name in stat -f information
|
||||||
|
|
||||||
2) Modify file portion of ltp so it can run against a mounted network
|
2) Improve xfstest's cifs enablement and adapt xfstests where needed to test
|
||||||
share and run it against cifs vfs in automated fashion.
|
cifs better
|
||||||
|
|
||||||
3) Additional performance testing and optimization using iozone and similar -
|
3) Additional performance testing and optimization using iozone and similar -
|
||||||
there are some easy changes that can be done to parallelize sequential writes,
|
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
|
and when signing is disabled to request larger read sizes (larger than
|
||||||
negotiated size) and send larger write sizes to modern servers.
|
negotiated size) and send larger write sizes to modern servers.
|
||||||
|
|
||||||
4) More exhaustively test against less common servers. More testing
|
4) More exhaustively test against less common servers
|
||||||
against Windows 9x, Windows ME servers.
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue