| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | Version 2.03 August 1, 2014 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | A Partial List of Missing Features | 
					
						
							|  |  |  | ================================== | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Contributions are welcome.  There are plenty of opportunities | 
					
						
							|  |  |  | for visible, important contributions to this module.  Here | 
					
						
							|  |  |  | is a partial list of the known problems and missing features: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | a) SMB3 (and SMB3.02) missing optional features: | 
					
						
							|  |  |  |    - RDMA | 
					
						
							|  |  |  |    - multichannel (started) | 
					
						
							|  |  |  |    - directory leases (improved metadata caching) | 
					
						
							|  |  |  |    - T10 copy offload (copy chunk is only mechanism supported) | 
					
						
							|  |  |  |    - encrypted shares | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | b) improved sparse file support | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | c) Directory entry caching relies on a 1 second timer, rather than | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | using FindNotify or equivalent.  - (started) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | d) quota support (needs minor kernel change since quota calls | 
					
						
							| 
									
										
										
										
											2005-09-06 15:55:49 -07:00
										 |  |  | to make it to network filesystems or deviceless filesystems) | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | e) improve support for very old servers (OS/2 and Win9x for example) | 
					
						
							| 
									
										
										
										
											2008-05-20 19:50:46 +00:00
										 |  |  | Including support for changing the time remotely (utimes command). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | extra copy in/out of the socket buffers in some cases. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | g) Better optimize open (and pathbased setfilesize) to reduce the | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | oplock breaks coming from windows srv.  Piggyback identical file | 
					
						
							|  |  |  | opens on top of each other by incrementing reference count rather | 
					
						
							|  |  |  | than resending (helps reduce server resource utilization and avoid | 
					
						
							|  |  |  | spurious oplock breaks). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | h) Add support for storing symlink info to Windows servers | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | in the Extended Attribute format their SFU clients would recognize. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | i) Finish inotify support so kde and gnome file list windows | 
					
						
							| 
									
										
										
										
											2005-09-06 15:55:49 -07:00
										 |  |  | will autorefresh (partially complete by Asser). Needs minor kernel | 
					
						
							|  |  |  | vfs change to support removing D_NOTIFY on a file.    | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | j) Add GUI tool to configure /proc/fs/cifs settings and for display of | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | the CIFS statistics (started) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | k) implement support for security and trusted categories of xattrs | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | (requires minor protocol extension) to enable better support for SELINUX | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | l) Implement O_DIRECT flag on open (already supported on mount) | 
					
						
							| 
									
										
										
										
											2005-04-28 22:41:06 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | m) Create UID mapping facility so server UIDs can be mapped on a per | 
					
						
							| 
									
										
										
										
											2005-04-30 11:10:58 -07:00
										 |  |  | mount or a per server basis to client UIDs or nobody if no mapping | 
					
						
							|  |  |  | exists.  This is helpful when Unix extensions are negotiated to | 
					
						
							|  |  |  | allow better permission checking when UIDs differ on the server | 
					
						
							|  |  |  | and client.  Add new protocol request to the CIFS protocol  | 
					
						
							|  |  |  | standard for asking the server for the corresponding name of a | 
					
						
							|  |  |  | particular uid. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | n) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | o) mount check for unmatched uids | 
					
						
							| 
									
										
										
										
											2005-09-06 15:55:49 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | p) Add support for new vfs entry point for fallocate | 
					
						
							| 
									
										
										
										
											2005-09-06 15:55:49 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | q) Add tools to take advantage of cifs/smb3 specific ioctls and features | 
					
						
							|  |  |  | such as "CopyChunk" (fast server side file copy) | 
					
						
							| 
									
										
										
										
											2007-04-26 14:35:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | r) encrypted file support | 
					
						
							| 
									
										
										
										
											2007-04-26 14:35:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | s) improved stats gathering, tools (perhaps integration with nfsometer?) | 
					
						
							| 
									
										
										
										
											2005-09-06 15:55:49 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | t) allow setting more NTFS/SMB3 file attributes remotely (currently limited to compressed | 
					
						
							|  |  |  | file attribute via chflags) | 
					
						
							| 
									
										
										
										
											2007-04-26 14:35:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | u) mount helper GUI (to simplify the various configuration options on mount) | 
					
						
							| 
									
										
										
										
											2007-04-26 14:35:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | KNOWN BUGS | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | ==================================== | 
					
						
							| 
									
										
										
										
											2005-04-28 22:41:05 -07:00
										 |  |  | See http://bugzilla.samba.org - search on product "CifsVFS" for | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | current bug list.  Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS) | 
					
						
							| 
									
										
										
										
											2005-04-28 22:41:05 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 1) existing symbolic links (Windows reparse points) are recognized but | 
					
						
							|  |  |  | can not be created remotely. They are implemented for Samba and those that | 
					
						
							| 
									
										
										
										
											2005-04-28 22:41:05 -07:00
										 |  |  | support the CIFS Unix extensions, although earlier versions of Samba | 
					
						
							|  |  |  | overly restrict the pathnames. | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 2) follow_link and readdir code does not follow dfs junctions | 
					
						
							|  |  |  | but recognizes them | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Misc testing to do | 
					
						
							|  |  |  | ================== | 
					
						
							|  |  |  | 1) check out max path names and max path name components against various server | 
					
						
							|  |  |  | types. Try nested symlinks (8 deep). Return max path name in stat -f information | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | 2) Improve xfstest's cifs enablement and adapt xfstests where needed to test | 
					
						
							|  |  |  | cifs better | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | 3) Additional performance testing and optimization using iozone and similar -  | 
					
						
							|  |  |  | there are some easy changes that can be done to parallelize sequential writes, | 
					
						
							|  |  |  | and when signing is disabled to request larger read sizes (larger than  | 
					
						
							|  |  |  | negotiated size) and send larger write sizes to modern servers. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-08-01 16:00:01 -05:00
										 |  |  | 4) More exhaustively test against less common servers |