TODO 4.0 KB

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