patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / fs / cifs / TODO
1 version 1.16 May 27, 2004
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
14
15 c) multi-user mounts - multiplexed sessionsetups over single vc
16 (ie tcp session) - prettying up needed
17
18 d) Kerberos/SPNEGO session setup support - (started)
19
20 e) NTLMv2 authentication (mostly implemented)
21
22 f) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup 
23 used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLM
24 and raw NTLMSSP already. This is important when enabling
25 extended security and mounting to Windows 2003 Servers
26
27 f) Directory entry caching relies on a 1 second timer, rather than 
28 using FindNotify or equivalent.  - (started)
29
30 g) A few byte range testcases fail due to POSIX vs. Windows/CIFS
31 style byte range lock differences
32
33 h) quota support
34
35 i) support for the Linux 2.5 kernel new feature get_xattr and set_xattr
36 which will allow us to expose dos attributes as well as real
37 ACLs. This support has been started in the current code, but is
38 ifdeffed out.
39
40 k) finish writepages support (multi-page write behind for improved
41 performance) and syncpage
42
43 l) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
44 extra copy in/out of the socket buffers in some cases.
45
46 m) finish support for IPv6.  This is mostly complete but
47 needs a simple inet_pton like function to convert ipv6
48 addresses in string representation.
49
50 o) Better optimize open (and pathbased setfilesize) to reduce the
51 oplock breaks coming from windows srv.  Piggyback identical file
52 opens on top of each other by incrementing reference count rather
53 than resending (helps reduce server resource utilization and avoid
54 spurious oplock breaks).
55
56 p) Improve performance of readpages by sending more than one read
57 at a time when 8 pages or more are requested.  Evaluate whether
58 reads larger than 16K would be helpful.
59
60 q) For support of Windows9x/98 we need to retry failed mounts
61 to *SMBSERVER (default server name) with the uppercase hostname
62 in the RFC1001 session_init request.
63
64 r) Add Extended Attributed support (for storing UID/GID info
65 to Windows servers)
66
67 s) Finish fcntl D_NOTIFY support so kde and gnome file list windows
68 will autorefresh
69
70 t) Add GUI tool to configure /proc/fs/cifs settings and for display of
71 the CIFS statistics
72
73 KNOWN BUGS (updated May 27, 2004)
74 ====================================
75 1) existing symbolic links (Windows reparse points) are recognized but
76 can not be created remotely. They are implemented for Samba and those that
77 support the CIFS Unix extensions but Samba has a bug currently handling
78 symlink text beginning with slash
79 2) follow_link and readdir code does not follow dfs junctions
80 but recognizes them
81 3) create of new files to FAT partitions on Windows servers can
82 succeed but still return access denied (appears to be Windows 
83 server not cifs client problem) and has not been reproduced recently.
84 NTFS partitions do not have this problem.
85 4) debug connectation lock test case 10 which fails against
86 Samba (may be unmappable due to POSIX to Windows lock model
87 differences but worth investigating).  Also debug Samba to 
88 see why lock test case 7 takes longer to complete to Samba
89 than to Windows.
90
91 Misc testing to do
92 ==================
93 1) check out max path names and max path name components against various server
94 types. Return max path name in stat -f information
95
96 2) Modify file portion of ltp so it can run against a mounted network
97 share and run it against cifs vfs.
98
99 3) Additional performance testing and optimization using iozone and similar - 
100 there are some easy changes that can be done to parallelize sequential writes,
101 and when signing is disabled to request larger read sizes (larger than 
102 negotiated size) and send larger write sizes to modern servers.
103
104 4) More exhaustively test the recently added NT4 support against various
105 NT4 service pack levels.
106