TODO 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Version 1.53 May 20, 2008
  2. A Partial List of Missing Features
  3. ==================================
  4. Contributions are welcome. There are plenty of opportunities
  5. for visible, important contributions to this module. Here
  6. is a partial list of the known problems and missing features:
  7. a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown
  8. so that these operations can be supported to Windows servers
  9. b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
  10. SecurityDescriptors
  11. c) Better pam/winbind integration (e.g. to handle uid mapping
  12. better)
  13. d) Cleanup now unneeded SessSetup code in
  14. fs/cifs/connect.c and add back in NTLMSSP code if any servers
  15. need it
  16. e) fix NTLMv2 signing when two mounts with different users to same
  17. server.
  18. f) Directory entry caching relies on a 1 second timer, rather than
  19. using FindNotify or equivalent. - (started)
  20. g) quota support (needs minor kernel change since quota calls
  21. to make it to network filesystems or deviceless filesystems)
  22. h) investigate sync behavior (including syncpage) and check
  23. for proper behavior of intr/nointr
  24. i) improve support for very old servers (OS/2 and Win9x for example)
  25. Including support for changing the time remotely (utimes command).
  26. j) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
  27. extra copy in/out of the socket buffers in some cases.
  28. k) Better optimize open (and pathbased setfilesize) to reduce the
  29. oplock breaks coming from windows srv. Piggyback identical file
  30. opens on top of each other by incrementing reference count rather
  31. than resending (helps reduce server resource utilization and avoid
  32. spurious oplock breaks).
  33. l) Improve performance of readpages by sending more than one read
  34. at a time when 8 pages or more are requested. In conjuntion
  35. add support for async_cifs_readpages.
  36. m) Add support for storing symlink info to Windows servers
  37. in the Extended Attribute format their SFU clients would recognize.
  38. n) Finish fcntl D_NOTIFY support so kde and gnome file list windows
  39. will autorefresh (partially complete by Asser). Needs minor kernel
  40. vfs change to support removing D_NOTIFY on a file.
  41. o) Add GUI tool to configure /proc/fs/cifs settings and for display of
  42. the CIFS statistics (started)
  43. p) implement support for security and trusted categories of xattrs
  44. (requires minor protocol extension) to enable better support for SELINUX
  45. q) Implement O_DIRECT flag on open (already supported on mount)
  46. r) Create UID mapping facility so server UIDs can be mapped on a per
  47. mount or a per server basis to client UIDs or nobody if no mapping
  48. exists. This is helpful when Unix extensions are negotiated to
  49. allow better permission checking when UIDs differ on the server
  50. and client. Add new protocol request to the CIFS protocol
  51. standard for asking the server for the corresponding name of a
  52. particular uid.
  53. s) Add support for CIFS Unix and also the newer POSIX extensions to the
  54. server side for Samba 4.
  55. t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers)
  56. need to add ability to set time to server (utimes command)
  57. u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
  58. v) mount check for unmatched uids
  59. w) Add support for new vfs entry point for fallocate
  60. x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of
  61. processes can proceed better in parallel (on the server)
  62. y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mount
  63. restriction of wsize max being 127K)
  64. KNOWN BUGS (updated April 24, 2007)
  65. ====================================
  66. See http://bugzilla.samba.org - search on product "CifsVFS" for
  67. current bug list.
  68. 1) existing symbolic links (Windows reparse points) are recognized but
  69. can not be created remotely. They are implemented for Samba and those that
  70. support the CIFS Unix extensions, although earlier versions of Samba
  71. overly restrict the pathnames.
  72. 2) follow_link and readdir code does not follow dfs junctions
  73. but recognizes them
  74. 3) create of new files to FAT partitions on Windows servers can
  75. succeed but still return access denied (appears to be Windows
  76. server not cifs client problem) and has not been reproduced recently.
  77. NTFS partitions do not have this problem.
  78. 4) Unix/POSIX capabilities are reset after reconnection, and affect
  79. a few fields in the tree connection but we do do not know which
  80. superblocks to apply these changes to. We should probably walk
  81. the list of superblocks to set these. Also need to check the
  82. flags on the second mount to the same share, and see if we
  83. can do the same trick that NFS does to remount duplicate shares.
  84. Misc testing to do
  85. ==================
  86. 1) check out max path names and max path name components against various server
  87. types. Try nested symlinks (8 deep). Return max path name in stat -f information
  88. 2) Modify file portion of ltp so it can run against a mounted network
  89. share and run it against cifs vfs in automated fashion.
  90. 3) Additional performance testing and optimization using iozone and similar -
  91. there are some easy changes that can be done to parallelize sequential writes,
  92. and when signing is disabled to request larger read sizes (larger than
  93. negotiated size) and send larger write sizes to modern servers.
  94. 4) More exhaustively test against less common servers. More testing
  95. against Windows 9x, Windows ME servers.