todo.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. ====
  2. TODO
  3. ====
  4. As of 6.7 kernel. See https://wiki.samba.org/index.php/LinuxCIFSKernel
  5. for list of features added by release
  6. A Partial List of Missing Features
  7. ==================================
  8. Contributions are welcome. There are plenty of opportunities
  9. for visible, important contributions to this module. Here
  10. is a partial list of the known problems and missing features:
  11. a) SMB3 (and SMB3.1.1) missing optional features:
  12. multichannel performance optimizations, algorithmic channel selection,
  13. directory leases optimizations,
  14. support for faster packet signing (GMAC),
  15. support for compression over the network,
  16. T10 copy offload ie "ODX" (copy chunk, and "Duplicate Extents" ioctl
  17. are currently the only two server side copy mechanisms supported)
  18. b) Better optimized compounding and error handling for sparse file support,
  19. perhaps addition of new optional SMB3.1.1 fsctls to make collapse range
  20. and insert range more atomic
  21. c) Support for SMB3.1.1 over QUIC (and perhaps other socket based protocols
  22. like SCTP)
  23. d) quota support (needs minor kernel change since quota calls otherwise
  24. won't make it to network filesystems or deviceless filesystems).
  25. e) Additional use cases can be optimized to use "compounding" (e.g.
  26. open/query/close and open/setinfo/close) to reduce the number of
  27. roundtrips to the server and improve performance. Various cases
  28. (stat, statfs, create, unlink, mkdir, xattrs) already have been improved by
  29. using compounding but more can be done. In addition we could
  30. significantly reduce redundant opens by using deferred close (with
  31. handle caching leases) and better using reference counters on file
  32. handles.
  33. f) Finish inotify support so kde and gnome file list windows
  34. will autorefresh (partially complete by Asser). Needs minor kernel
  35. vfs change to support removing D_NOTIFY on a file.
  36. g) Add GUI tool to configure /proc/fs/cifs settings and for display of
  37. the CIFS statistics (started)
  38. h) implement support for security and trusted categories of xattrs
  39. (requires minor protocol extension) to enable better support for SELINUX
  40. i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol
  41. feature (may be especially useful for virtualization).
  42. j) Create UID mapping facility so server UIDs can be mapped on a per
  43. mount or a per server basis to client UIDs or nobody if no mapping
  44. exists. Also better integration with winbind for resolving SID owners
  45. k) Add tools to take advantage of more smb3 specific ioctls and features
  46. (passthrough ioctl/fsctl is now implemented in cifs.ko to allow
  47. sending various SMB3 fsctls and query info and set info calls
  48. directly from user space) Add tools to make setting various non-POSIX
  49. metadata attributes easier from tools (e.g. extending what was done
  50. in smb-info tool).
  51. l) encrypted file support (currently the attribute showing the file is
  52. encrypted on the server is reported, but changing the attribute is not
  53. supported).
  54. m) improved stats gathering tools (perhaps integration with nfsometer?)
  55. to extend and make easier to use what is currently in /proc/fs/cifs/Stats
  56. n) Add support for claims based ACLs ("DAC")
  57. o) mount helper GUI (to simplify the various configuration options on mount)
  58. p) Expand support for witness protocol to allow for notification of share
  59. move, and server network adapter changes. Currently only notifications by
  60. the witness protocol for server move is supported by the Linux client.
  61. q) Allow mount.cifs to be more verbose in reporting errors with dialect
  62. or unsupported feature errors. This would now be easier due to the
  63. implementation of the new mount API.
  64. r) updating cifs documentation, and user guide.
  65. s) Addressing bugs found by running a broader set of xfstests in standard
  66. file system xfstest suite.
  67. t) split cifs and smb3 support into separate modules so legacy (and less
  68. secure) CIFS dialect can be disabled in environments that don't need it
  69. and simplify the code.
  70. v) Additional testing of POSIX Extensions for SMB3.1.1
  71. w) Support for the Mac SMB3.1.1 extensions to improve interop with Apple servers
  72. x) Support for additional authentication options (e.g. IAKERB, peer-to-peer
  73. Kerberos, SCRAM and others supported by existing servers)
  74. y) Improved tracing, more eBPF trace points, better scripts for performance
  75. analysis
  76. Known Bugs
  77. ==========
  78. See https://bugzilla.samba.org - search on product "CifsVFS" for
  79. current bug list. Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS)
  80. and xfstest results e.g. https://wiki.samba.org/index.php/Xfstest-results-smb3
  81. Misc testing to do
  82. ==================
  83. 1) check out max path names and max path name components against various server
  84. types. Try nested symlinks (8 deep). Return max path name in stat -f information
  85. 2) Improve xfstest's cifs/smb3 enablement and adapt xfstests where needed to test
  86. cifs/smb3 better
  87. 3) Additional performance testing and optimization using iozone and similar -
  88. there are some easy changes that can be done to parallelize sequential writes,
  89. and when signing is disabled to request larger read sizes (larger than
  90. negotiated size) and send larger write sizes to modern servers.
  91. 4) More exhaustively test against less common servers
  92. 5) Continue to extend the smb3 "buildbot" which does automated xfstesting
  93. against Windows, Samba and Azure currently - to add additional tests and
  94. to allow the buildbot to execute the tests faster. The URL for the
  95. buildbot is: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com
  96. 6) Address various coverity warnings (most are not bugs per-se, but
  97. the more warnings are addressed, the easier it is to spot real
  98. problems that static analyzers will point out in the future).