diff options
author | Steve French <smfrench@gmail.com> | 2014-08-01 17:00:01 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-02 02:26:07 -0400 |
commit | 2075cf0b71bfffc4942e232f1487ac98bdfb7bf5 (patch) | |
tree | 30cf25aa17a273332bc7903634f261bd284e1a70 | |
parent | 480e83275a0284a5fed75323aaa4b32547b14308 (diff) |
update CIFS TODO list
Signed-off-by: Steve French <smfrench@gmail.com>
-rw-r--r-- | Documentation/filesystems/cifs/TODO | 97 |
1 files changed, 36 insertions, 61 deletions
diff --git a/Documentation/filesystems/cifs/TODO b/Documentation/filesystems/cifs/TODO index 355abcdcda98..066ffddc3964 100644 --- a/Documentation/filesystems/cifs/TODO +++ b/Documentation/filesystems/cifs/TODO | |||
@@ -1,4 +1,4 @@ | |||
1 | Version 1.53 May 20, 2008 | 1 | Version 2.03 August 1, 2014 |
2 | 2 | ||
3 | A Partial List of Missing Features | 3 | A Partial List of Missing Features |
4 | ================================== | 4 | ================================== |
@@ -7,63 +7,49 @@ Contributions are welcome. There are plenty of opportunities | |||
7 | for visible, important contributions to this module. Here | 7 | for visible, important contributions to this module. Here |
8 | is a partial list of the known problems and missing features: | 8 | is a partial list of the known problems and missing features: |
9 | 9 | ||
10 | a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown | 10 | a) SMB3 (and SMB3.02) missing optional features: |
11 | so that these operations can be supported to Windows servers | 11 | - RDMA |
12 | - multichannel (started) | ||
13 | - directory leases (improved metadata caching) | ||
14 | - T10 copy offload (copy chunk is only mechanism supported) | ||
15 | - encrypted shares | ||
12 | 16 | ||
13 | b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS | 17 | b) improved sparse file support |
14 | SecurityDescriptors | ||
15 | 18 | ||
16 | c) Better pam/winbind integration (e.g. to handle uid mapping | 19 | c) Directory entry caching relies on a 1 second timer, rather than |
17 | better) | ||
18 | |||
19 | d) Cleanup now unneeded SessSetup code in | ||
20 | fs/cifs/connect.c and add back in NTLMSSP code if any servers | ||
21 | need it | ||
22 | |||
23 | e) fix NTLMv2 signing when two mounts with different users to same | ||
24 | server. | ||
25 | |||
26 | f) Directory entry caching relies on a 1 second timer, rather than | ||
27 | using FindNotify or equivalent. - (started) | 20 | using FindNotify or equivalent. - (started) |
28 | 21 | ||
29 | g) quota support (needs minor kernel change since quota calls | 22 | d) quota support (needs minor kernel change since quota calls |
30 | to make it to network filesystems or deviceless filesystems) | 23 | to make it to network filesystems or deviceless filesystems) |
31 | 24 | ||
32 | h) investigate sync behavior (including syncpage) and check | 25 | e) improve support for very old servers (OS/2 and Win9x for example) |
33 | for proper behavior of intr/nointr | ||
34 | |||
35 | i) improve support for very old servers (OS/2 and Win9x for example) | ||
36 | Including support for changing the time remotely (utimes command). | 26 | Including support for changing the time remotely (utimes command). |
37 | 27 | ||
38 | j) hook lower into the sockets api (as NFS/SunRPC does) to avoid the | 28 | f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the |
39 | extra copy in/out of the socket buffers in some cases. | 29 | extra copy in/out of the socket buffers in some cases. |
40 | 30 | ||
41 | k) Better optimize open (and pathbased setfilesize) to reduce the | 31 | g) Better optimize open (and pathbased setfilesize) to reduce the |
42 | oplock breaks coming from windows srv. Piggyback identical file | 32 | oplock breaks coming from windows srv. Piggyback identical file |
43 | opens on top of each other by incrementing reference count rather | 33 | opens on top of each other by incrementing reference count rather |
44 | than resending (helps reduce server resource utilization and avoid | 34 | than resending (helps reduce server resource utilization and avoid |
45 | spurious oplock breaks). | 35 | spurious oplock breaks). |
46 | 36 | ||
47 | l) Improve performance of readpages by sending more than one read | 37 | h) Add support for storing symlink info to Windows servers |
48 | at a time when 8 pages or more are requested. In conjuntion | ||
49 | add support for async_cifs_readpages. | ||
50 | |||
51 | m) Add support for storing symlink info to Windows servers | ||
52 | in the Extended Attribute format their SFU clients would recognize. | 38 | in the Extended Attribute format their SFU clients would recognize. |
53 | 39 | ||
54 | n) Finish fcntl D_NOTIFY support so kde and gnome file list windows | 40 | i) Finish inotify support so kde and gnome file list windows |
55 | will autorefresh (partially complete by Asser). Needs minor kernel | 41 | will autorefresh (partially complete by Asser). Needs minor kernel |
56 | vfs change to support removing D_NOTIFY on a file. | 42 | vfs change to support removing D_NOTIFY on a file. |
57 | 43 | ||
58 | o) Add GUI tool to configure /proc/fs/cifs settings and for display of | 44 | j) Add GUI tool to configure /proc/fs/cifs settings and for display of |
59 | the CIFS statistics (started) | 45 | the CIFS statistics (started) |
60 | 46 | ||
61 | p) implement support for security and trusted categories of xattrs | 47 | k) implement support for security and trusted categories of xattrs |
62 | (requires minor protocol extension) to enable better support for SELINUX | 48 | (requires minor protocol extension) to enable better support for SELINUX |
63 | 49 | ||
64 | q) Implement O_DIRECT flag on open (already supported on mount) | 50 | l) Implement O_DIRECT flag on open (already supported on mount) |
65 | 51 | ||
66 | r) Create UID mapping facility so server UIDs can be mapped on a per | 52 | m) Create UID mapping facility so server UIDs can be mapped on a per |
67 | mount or a per server basis to client UIDs or nobody if no mapping | 53 | mount or a per server basis to client UIDs or nobody if no mapping |
68 | exists. This is helpful when Unix extensions are negotiated to | 54 | exists. This is helpful when Unix extensions are negotiated to |
69 | allow better permission checking when UIDs differ on the server | 55 | allow better permission checking when UIDs differ on the server |
@@ -71,28 +57,29 @@ and client. Add new protocol request to the CIFS protocol | |||
71 | standard for asking the server for the corresponding name of a | 57 | standard for asking the server for the corresponding name of a |
72 | particular uid. | 58 | particular uid. |
73 | 59 | ||
74 | s) Add support for CIFS Unix and also the newer POSIX extensions to the | 60 | n) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too) |
75 | server side for Samba 4. | 61 | |
62 | o) mount check for unmatched uids | ||
76 | 63 | ||
77 | t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers) | 64 | p) Add support for new vfs entry point for fallocate |
78 | need to add ability to set time to server (utimes command) | ||
79 | 65 | ||
80 | u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too) | 66 | q) Add tools to take advantage of cifs/smb3 specific ioctls and features |
67 | such as "CopyChunk" (fast server side file copy) | ||
81 | 68 | ||
82 | v) mount check for unmatched uids | 69 | r) encrypted file support |
83 | 70 | ||
84 | w) Add support for new vfs entry point for fallocate | 71 | s) improved stats gathering, tools (perhaps integration with nfsometer?) |
85 | 72 | ||
86 | x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of | 73 | t) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed |
87 | processes can proceed better in parallel (on the server) | 74 | file attribute via chflags) |
88 | 75 | ||
89 | y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mount | 76 | u) mount helper GUI (to simplify the various configuration options on mount) |
90 | restriction of wsize max being 127K) | ||
91 | 77 | ||
92 | KNOWN BUGS (updated April 24, 2007) | 78 | |
79 | KNOWN BUGS | ||
93 | ==================================== | 80 | ==================================== |
94 | See http://bugzilla.samba.org - search on product "CifsVFS" for | 81 | See http://bugzilla.samba.org - search on product "CifsVFS" for |
95 | current bug list. | 82 | current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS) |
96 | 83 | ||
97 | 1) existing symbolic links (Windows reparse points) are recognized but | 84 | 1) existing symbolic links (Windows reparse points) are recognized but |
98 | can not be created remotely. They are implemented for Samba and those that | 85 | 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 | |||
100 | overly restrict the pathnames. | 87 | overly restrict the pathnames. |
101 | 2) follow_link and readdir code does not follow dfs junctions | 88 | 2) follow_link and readdir code does not follow dfs junctions |
102 | but recognizes them | 89 | but recognizes them |
103 | 3) create of new files to FAT partitions on Windows servers can | ||
104 | succeed but still return access denied (appears to be Windows | ||
105 | server not cifs client problem) and has not been reproduced recently. | ||
106 | NTFS partitions do not have this problem. | ||
107 | 4) Unix/POSIX capabilities are reset after reconnection, and affect | ||
108 | a few fields in the tree connection but we do do not know which | ||
109 | superblocks to apply these changes to. We should probably walk | ||
110 | the list of superblocks to set these. Also need to check the | ||
111 | flags on the second mount to the same share, and see if we | ||
112 | can do the same trick that NFS does to remount duplicate shares. | ||
113 | 90 | ||
114 | Misc testing to do | 91 | Misc testing to do |
115 | ================== | 92 | ================== |
116 | 1) check out max path names and max path name components against various server | 93 | 1) check out max path names and max path name components against various server |
117 | types. Try nested symlinks (8 deep). Return max path name in stat -f information | 94 | types. Try nested symlinks (8 deep). Return max path name in stat -f information |
118 | 95 | ||
119 | 2) Modify file portion of ltp so it can run against a mounted network | 96 | 2) Improve xfstest's cifs enablement and adapt xfstests where needed to test |
120 | share and run it against cifs vfs in automated fashion. | 97 | cifs better |
121 | 98 | ||
122 | 3) Additional performance testing and optimization using iozone and similar - | 99 | 3) Additional performance testing and optimization using iozone and similar - |
123 | there are some easy changes that can be done to parallelize sequential writes, | 100 | there are some easy changes that can be done to parallelize sequential writes, |
124 | and when signing is disabled to request larger read sizes (larger than | 101 | and when signing is disabled to request larger read sizes (larger than |
125 | negotiated size) and send larger write sizes to modern servers. | 102 | negotiated size) and send larger write sizes to modern servers. |
126 | 103 | ||
127 | 4) More exhaustively test against less common servers. More testing | 104 | 4) More exhaustively test against less common servers |
128 | against Windows 9x, Windows ME servers. | ||
129 | |||