Pull ia64-clocksource into release branch
[pandora-kernel.git] / fs / cifs / TODO
1 Version 1.49 April 26, 2007
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(Windows/CIFS ACLs) for chmod/chgrp/chown
11 so that these operations can be supported to Windows servers
12
13 b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
14 SecurityDescriptors
15
16 c) Better pam/winbind integration (e.g. to handle uid mapping
17 better)
18
19 d) Kerberos/SPNEGO session setup support - (started)
20
21 e) Cleanup now unneeded SessSetup code in
22 fs/cifs/connect.c and add back in NTLMSSP code if any servers
23 need it
24
25 f) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup 
26 used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLM
27 and raw NTLMSSP already. This is important when enabling
28 extended security and mounting to Windows 2003 Servers
29
30 g) Directory entry caching relies on a 1 second timer, rather than 
31 using FindNotify or equivalent.  - (started)
32
33 h) quota support (needs minor kernel change since quota calls
34 to make it to network filesystems or deviceless filesystems)
35
36 i) investigate sync behavior (including syncpage) and check  
37 for proper behavior of intr/nointr
38
39 j) 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 k) Better optimize open (and pathbased setfilesize) to reduce the
43 oplock breaks coming from windows srv.  Piggyback identical file
44 opens on top of each other by incrementing reference count rather
45 than resending (helps reduce server resource utilization and avoid
46 spurious oplock breaks).
47
48 l) Improve performance of readpages by sending more than one read
49 at a time when 8 pages or more are requested. In conjuntion
50 add support for async_cifs_readpages.
51
52 m) Add support for storing symlink info to Windows servers 
53 in the Extended Attribute format their SFU clients would recognize.
54
55 n) Finish fcntl D_NOTIFY support so kde and gnome file list windows
56 will autorefresh (partially complete by Asser). Needs minor kernel
57 vfs change to support removing D_NOTIFY on a file.   
58
59 o) Add GUI tool to configure /proc/fs/cifs settings and for display of
60 the CIFS statistics (started)
61
62 p) implement support for security and trusted categories of xattrs
63 (requires minor protocol extension) to enable better support for SELINUX
64
65 q) Implement O_DIRECT flag on open (already supported on mount)
66
67 r) Create UID mapping facility so server UIDs can be mapped on a per
68 mount or a per server basis to client UIDs or nobody if no mapping
69 exists.  This is helpful when Unix extensions are negotiated to
70 allow better permission checking when UIDs differ on the server
71 and client.  Add new protocol request to the CIFS protocol 
72 standard for asking the server for the corresponding name of a
73 particular uid.
74
75 s) Add support for CIFS Unix and also the newer POSIX extensions to the
76 server side for Samba 4.
77
78 t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers) 
79 need to add ability to set time to server (utimes command)
80
81 u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
82
83 v) mount check for unmatched uids
84
85 w) Add mount option for Linux extension disable per mount, and partial
86 disable per mount (uid off, symlink/fifo/mknod on but what about posix acls?)
87
88 x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of 
89 processes can proceed better in parallel (on the server)
90
91 y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mount
92 restriction of wsize max being 127K) 
93
94 KNOWN BUGS (updated April 24, 2007)
95 ====================================
96 See http://bugzilla.samba.org - search on product "CifsVFS" for
97 current bug list.
98
99 1) existing symbolic links (Windows reparse points) are recognized but
100 can not be created remotely. They are implemented for Samba and those that
101 support the CIFS Unix extensions, although earlier versions of Samba
102 overly restrict the pathnames.
103 2) follow_link and readdir code does not follow dfs junctions
104 but recognizes them
105 3) create of new files to FAT partitions on Windows servers can
106 succeed but still return access denied (appears to be Windows 
107 server not cifs client problem) and has not been reproduced recently.
108 NTFS partitions do not have this problem.
109 4) Unix/POSIX capabilities are reset after reconnection, and affect
110 a few fields in the tree connection but we do do not know which
111 superblocks to apply these changes to.  We should probably walk
112 the list of superblocks to set these.  Also need to check the
113 flags on the second mount to the same share, and see if we
114 can do the same trick that NFS does to remount duplicate shares.
115
116 Misc testing to do
117 ==================
118 1) check out max path names and max path name components against various server
119 types. Try nested symlinks (8 deep). Return max path name in stat -f information
120
121 2) Modify file portion of ltp so it can run against a mounted network
122 share and run it against cifs vfs in automated fashion.
123
124 3) Additional performance testing and optimization using iozone and similar - 
125 there are some easy changes that can be done to parallelize sequential writes,
126 and when signing is disabled to request larger read sizes (larger than 
127 negotiated size) and send larger write sizes to modern servers.
128
129 4) More exhaustively test against less common servers.  More testing
130 against Windows 9x, Windows ME servers.
131