📄 todo
字号:
Version 1.49 April 26, 2007A Partial List of Missing Features==================================Contributions are welcome. There are plenty of opportunitiesfor visible, important contributions to this module. Hereis a partial list of the known problems and missing features:a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chownso that these operations can be supported to Windows serversb) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFSSecurityDescriptorsc) Better pam/winbind integration (e.g. to handle uid mappingbetter)d) Kerberos/SPNEGO session setup support - (started)e) Cleanup now unneeded SessSetup code infs/cifs/connect.c and add back in NTLMSSP code if any serversneed itf) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLMand raw NTLMSSP already. This is important when enablingextended security and mounting to Windows 2003 Serversg) Directory entry caching relies on a 1 second timer, rather than using FindNotify or equivalent. - (started)h) quota support (needs minor kernel change since quota callsto make it to network filesystems or deviceless filesystems)i) investigate sync behavior (including syncpage) and check for proper behavior of intr/nointrj) hook lower into the sockets api (as NFS/SunRPC does) to avoid theextra copy in/out of the socket buffers in some cases.k) Better optimize open (and pathbased setfilesize) to reduce theoplock breaks coming from windows srv. Piggyback identical fileopens on top of each other by incrementing reference count ratherthan resending (helps reduce server resource utilization and avoidspurious oplock breaks).l) Improve performance of readpages by sending more than one readat a time when 8 pages or more are requested. In conjuntionadd support for async_cifs_readpages.m) Add support for storing symlink info to Windows servers in the Extended Attribute format their SFU clients would recognize.n) Finish fcntl D_NOTIFY support so kde and gnome file list windowswill autorefresh (partially complete by Asser). Needs minor kernelvfs change to support removing D_NOTIFY on a file. o) Add GUI tool to configure /proc/fs/cifs settings and for display ofthe CIFS statistics (started)p) implement support for security and trusted categories of xattrs(requires minor protocol extension) to enable better support for SELINUXq) Implement O_DIRECT flag on open (already supported on mount)r) Create UID mapping facility so server UIDs can be mapped on a permount or a per server basis to client UIDs or nobody if no mappingexists. This is helpful when Unix extensions are negotiated toallow better permission checking when UIDs differ on the serverand client. Add new protocol request to the CIFS protocol standard for asking the server for the corresponding name of aparticular uid.s) Add support for CIFS Unix and also the newer POSIX extensions to theserver side for Samba 4.t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers) need to add ability to set time to server (utimes command)u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)v) mount check for unmatched uidsw) Add support for new vfs entry points for setlease and fallocate x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of processes can proceed better in parallel (on the server)y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mountrestriction of wsize max being 127K) KNOWN BUGS (updated April 24, 2007)====================================See http://bugzilla.samba.org - search on product "CifsVFS" forcurrent bug list.1) existing symbolic links (Windows reparse points) are recognized butcan not be created remotely. They are implemented for Samba and those thatsupport the CIFS Unix extensions, although earlier versions of Sambaoverly restrict the pathnames.2) follow_link and readdir code does not follow dfs junctionsbut recognizes them3) create of new files to FAT partitions on Windows servers cansucceed but still return access denied (appears to be Windows server not cifs client problem) and has not been reproduced recently.NTFS partitions do not have this problem.4) Unix/POSIX capabilities are reset after reconnection, and affecta few fields in the tree connection but we do do not know whichsuperblocks to apply these changes to. We should probably walkthe list of superblocks to set these. Also need to check theflags on the second mount to the same share, and see if wecan do the same trick that NFS does to remount duplicate shares.Misc testing to do==================1) check out max path names and max path name components against various servertypes. Try nested symlinks (8 deep). Return max path name in stat -f information2) Modify file portion of ltp so it can run against a mounted networkshare and run it against cifs vfs in automated fashion.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.4) More exhaustively test against less common servers. More testingagainst Windows 9x, Windows ME servers.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -