blob: 355abcdcda980acfcd70dcb54d4bb798edf6fcae [file] [log] [blame]
Steve French0e4bbde2008-05-20 19:50:46 +00001Version 1.53 May 20, 2008
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 French9a899e72005-09-06 15:55:49 -070010a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown
11so that these operations can be supported to Windows servers
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Steve French9a899e72005-09-06 15:55:49 -070013b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
14SecurityDescriptors
15
16c) Better pam/winbind integration (e.g. to handle uid mapping
Linus Torvalds1da177e2005-04-16 15:20:36 -070017better)
18
Steve Frenchf6d09982008-01-08 23:18:22 +000019d) Cleanup now unneeded SessSetup code in
Steve Frenchb609f062007-07-09 07:55:14 +000020fs/cifs/connect.c and add back in NTLMSSP code if any servers
21need it
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
Steve French0e4bbde2008-05-20 19:50:46 +000023e) fix NTLMv2 signing when two mounts with different users to same
Steve Frenchf6d09982008-01-08 23:18:22 +000024server.
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Steve French0e4bbde2008-05-20 19:50:46 +000026f) Directory entry caching relies on a 1 second timer, rather than
Linus Torvalds1da177e2005-04-16 15:20:36 -070027using FindNotify or equivalent. - (started)
28
Steve French0e4bbde2008-05-20 19:50:46 +000029g) quota support (needs minor kernel change since quota calls
Steve French9a899e72005-09-06 15:55:49 -070030to make it to network filesystems or deviceless filesystems)
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
Steve French0e4bbde2008-05-20 19:50:46 +000032h) investigate sync behavior (including syncpage) and check
Steve French190fdeb2005-10-10 11:48:26 -070033for proper behavior of intr/nointr
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
Steve French0e4bbde2008-05-20 19:50:46 +000035i) improve support for very old servers (OS/2 and Win9x for example)
36Including support for changing the time remotely (utimes command).
37
Steve Frenchdeb04202007-04-26 14:35:54 +000038j) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
Linus Torvalds1da177e2005-04-16 15:20:36 -070039extra copy in/out of the socket buffers in some cases.
40
Steve Frenchdeb04202007-04-26 14:35:54 +000041k) Better optimize open (and pathbased setfilesize) to reduce the
Linus Torvalds1da177e2005-04-16 15:20:36 -070042oplock breaks coming from windows srv. Piggyback identical file
43opens on top of each other by incrementing reference count rather
44than resending (helps reduce server resource utilization and avoid
45spurious oplock breaks).
46
Steve Frenchdeb04202007-04-26 14:35:54 +000047l) Improve performance of readpages by sending more than one read
Linus Torvalds1da177e2005-04-16 15:20:36 -070048at a time when 8 pages or more are requested. In conjuntion
49add support for async_cifs_readpages.
50
Steve Frenchdeb04202007-04-26 14:35:54 +000051m) Add support for storing symlink info to Windows servers
Linus Torvalds1da177e2005-04-16 15:20:36 -070052in the Extended Attribute format their SFU clients would recognize.
53
Steve Frenchdeb04202007-04-26 14:35:54 +000054n) Finish fcntl D_NOTIFY support so kde and gnome file list windows
Steve French9a899e72005-09-06 15:55:49 -070055will autorefresh (partially complete by Asser). Needs minor kernel
56vfs change to support removing D_NOTIFY on a file.
Linus Torvalds1da177e2005-04-16 15:20:36 -070057
Steve Frenchdeb04202007-04-26 14:35:54 +000058o) Add GUI tool to configure /proc/fs/cifs settings and for display of
Linus Torvalds1da177e2005-04-16 15:20:36 -070059the CIFS statistics (started)
60
Steve Frenchdeb04202007-04-26 14:35:54 +000061p) implement support for security and trusted categories of xattrs
Linus Torvalds1da177e2005-04-16 15:20:36 -070062(requires minor protocol extension) to enable better support for SELINUX
63
Steve Frenchdeb04202007-04-26 14:35:54 +000064q) Implement O_DIRECT flag on open (already supported on mount)
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
Steve Frenchdeb04202007-04-26 14:35:54 +000066r) Create UID mapping facility so server UIDs can be mapped on a per
Steve French9ea1f8f2005-04-30 11:10:58 -070067mount or a per server basis to client UIDs or nobody if no mapping
68exists. This is helpful when Unix extensions are negotiated to
69allow better permission checking when UIDs differ on the server
70and client. Add new protocol request to the CIFS protocol
71standard for asking the server for the corresponding name of a
72particular uid.
73
Steve Frenchdeb04202007-04-26 14:35:54 +000074s) Add support for CIFS Unix and also the newer POSIX extensions to the
Steve French9a899e72005-09-06 15:55:49 -070075server side for Samba 4.
76
Steve Frenchdeb04202007-04-26 14:35:54 +000077t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers)
Steve French35c11fd2007-02-27 05:09:35 +000078need to add ability to set time to server (utimes command)
Steve French9a899e72005-09-06 15:55:49 -070079
Steve Frenchdeb04202007-04-26 14:35:54 +000080u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
Steve French9a899e72005-09-06 15:55:49 -070081
Steve French4523cc32007-04-30 20:13:06 +000082v) mount check for unmatched uids
Steve Frenchdeb04202007-04-26 14:35:54 +000083
J. Bruce Fieldsdf098db2010-10-30 17:06:21 -040084w) Add support for new vfs entry point for fallocate
Steve Frenchdeb04202007-04-26 14:35:54 +000085
86x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of
87processes can proceed better in parallel (on the server)
88
89y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mount
90restriction of wsize max being 127K)
91
92KNOWN BUGS (updated April 24, 2007)
Linus Torvalds1da177e2005-04-16 15:20:36 -070093====================================
Steve French6a0b4822005-04-28 22:41:05 -070094See http://bugzilla.samba.org - search on product "CifsVFS" for
95current bug list.
96
Linus Torvalds1da177e2005-04-16 15:20:36 -0700971) existing symbolic links (Windows reparse points) are recognized but
98can not be created remotely. They are implemented for Samba and those that
Steve French6a0b4822005-04-28 22:41:05 -070099support the CIFS Unix extensions, although earlier versions of Samba
100overly restrict the pathnames.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001012) follow_link and readdir code does not follow dfs junctions
102but recognizes them
1033) create of new files to FAT partitions on Windows servers can
104succeed but still return access denied (appears to be Windows
105server not cifs client problem) and has not been reproduced recently.
106NTFS partitions do not have this problem.
Steve French75865f8c2007-06-24 18:30:48 +00001074) Unix/POSIX capabilities are reset after reconnection, and affect
108a few fields in the tree connection but we do do not know which
109superblocks to apply these changes to. We should probably walk
110the list of superblocks to set these. Also need to check the
111flags on the second mount to the same share, and see if we
112can do the same trick that NFS does to remount duplicate shares.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113
114Misc testing to do
115==================
1161) check out max path names and max path name components against various server
117types. Try nested symlinks (8 deep). Return max path name in stat -f information
118
1192) Modify file portion of ltp so it can run against a mounted network
Steve French35c11fd2007-02-27 05:09:35 +0000120share and run it against cifs vfs in automated fashion.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121
1223) Additional performance testing and optimization using iozone and similar -
123there are some easy changes that can be done to parallelize sequential writes,
124and when signing is disabled to request larger read sizes (larger than
125negotiated size) and send larger write sizes to modern servers.
126
Steve French6a0b4822005-04-28 22:41:05 -07001274) More exhaustively test against less common servers. More testing
128against Windows 9x, Windows ME servers.
Steve French8af18972007-02-14 04:42:51 +0000129