1e8490ed694878b3bbed1e96ab792791ddf1daed
[firefly-linux-kernel-4.4.55.git] / fs / cifs / TODO
1 version 1.32 April 3, 2005
2
3 A Partial List of Missing Features
4 ==================================
5
6 Contributions are welcome.  There are plenty of opportunities
7 for visible, important contributions to this module.  Here
8 is a partial list of the known problems and missing features:
9
10 a) Support for SecurityDescriptors for chmod/chgrp/chown so
11 these can be supported for Windows servers
12
13 b) Better pam/winbind integration (e.g. to handle uid mapping
14 better)
15
16 c) multi-user mounts - multiplexed sessionsetups over single vc
17 (ie tcp session) - more testing needed
18
19 d) Kerberos/SPNEGO session setup support - (started)
20
21 e) NTLMv2 authentication (mostly implemented)
22
23 f) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup 
24 used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLM
25 and raw NTLMSSP already. This is important when enabling
26 extended security and mounting to Windows 2003 Servers
27
28 f) Directory entry caching relies on a 1 second timer, rather than 
29 using FindNotify or equivalent.  - (started)
30
31 g) A few byte range testcases fail due to POSIX vs. Windows/CIFS
32 style byte range lock differences
33
34 h) quota support
35
36 j) finish writepages support (multi-page write behind for improved
37 performance) and syncpage
38
39 k) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
40 extra copy in/out of the socket buffers in some cases.
41
42 l) finish support for IPv6.  This is mostly complete but
43 needs a simple conversion of ipv6 to sin6_addr from the
44 address in string representation.
45
46 m) Better optimize open (and pathbased setfilesize) to reduce the
47 oplock breaks coming from windows srv.  Piggyback identical file
48 opens on top of each other by incrementing reference count rather
49 than resending (helps reduce server resource utilization and avoid
50 spurious oplock breaks).
51
52 o) Improve performance of readpages by sending more than one read
53 at a time when 8 pages or more are requested. In conjuntion
54 add support for async_cifs_readpages.
55
56 p) Add support for storing symlink and fifo info to Windows servers 
57 in the Extended Attribute format their SFU clients would recognize.
58
59 q) Finish fcntl D_NOTIFY support so kde and gnome file list windows
60 will autorefresh (started)
61
62 r) Add GUI tool to configure /proc/fs/cifs settings and for display of
63 the CIFS statistics (started)
64
65 q) implement support for security and trusted categories of xattrs
66 (requires minor protocol extension) to enable better support for SELINUX
67
68 r) Implement O_DIRECT flag on open (already supported on mount)
69
70 s) Allow remapping of last remaining character (\) to +0xF000 which
71 (this character is valid for POSIX but not for Windows)
72
73 KNOWN BUGS (updated April 3, 2005)
74 ====================================
75 See http://bugzilla.samba.org - search on product "CifsVFS" for
76 current bug list.
77
78 1) existing symbolic links (Windows reparse points) are recognized but
79 can not be created remotely. They are implemented for Samba and those that
80 support the CIFS Unix extensions, although earlier versions of Samba
81 overly restrict the pathnames.
82 2) follow_link and readdir code does not follow dfs junctions
83 but recognizes them
84 3) create of new files to FAT partitions on Windows servers can
85 succeed but still return access denied (appears to be Windows 
86 server not cifs client problem) and has not been reproduced recently.
87 NTFS partitions do not have this problem.
88 4) debug connectathon lock test case 10 which fails against
89 Samba (may be unmappable due to POSIX to Windows lock model
90 differences but worth investigating).  Also debug Samba to 
91 see why lock test case 7 takes longer to complete to Samba
92 than to Windows.
93
94 Misc testing to do
95 ==================
96 1) check out max path names and max path name components against various server
97 types. Try nested symlinks (8 deep). Return max path name in stat -f information
98
99 2) Modify file portion of ltp so it can run against a mounted network
100 share and run it against cifs vfs.
101
102 3) Additional performance testing and optimization using iozone and similar - 
103 there are some easy changes that can be done to parallelize sequential writes,
104 and when signing is disabled to request larger read sizes (larger than 
105 negotiated size) and send larger write sizes to modern servers.
106
107 4) More exhaustively test against less common servers.  More testing
108 against Windows 9x, Windows ME servers.