Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) ====
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) TODO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) ====
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) Version 2.14 December 21, 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) A Partial List of Missing Features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) ==================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) Contributions are welcome.  There are plenty of opportunities
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) for visible, important contributions to this module.  Here
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) is a partial list of the known problems and missing features:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) a) SMB3 (and SMB3.1.1) missing optional features:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16)    - multichannel (started), integration with RDMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17)    - directory leases (improved metadata caching), started (root dir only)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18)    - T10 copy offload ie "ODX" (copy chunk, and "Duplicate Extents" ioctl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19)      currently the only two server side copy mechanisms supported)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) b) improved sparse file support (fiemap and SEEK_HOLE are implemented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22)    but additional features would be supportable by the protocol).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) c) Directory entry caching relies on a 1 second timer, rather than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25)    using Directory Leases, currently only the root file handle is cached longer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) d) quota support (needs minor kernel change since quota calls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28)    to make it to network filesystems or deviceless filesystems)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) e) Additional use cases can be optimized to use "compounding" (e.g.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31)    open/query/close and open/setinfo/close) to reduce the number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32)    roundtrips to the server and improve performance. Various cases
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33)    (stat, statfs, create, unlink, mkdir) already have been improved by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34)    using compounding but more can be done. In addition we could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35)    significantly reduce redundant opens by using deferred close (with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36)    handle caching leases) and better using reference counters on file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37)    handles.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) f) Finish inotify support so kde and gnome file list windows
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40)    will autorefresh (partially complete by Asser). Needs minor kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41)    vfs change to support removing D_NOTIFY on a file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) g) Add GUI tool to configure /proc/fs/cifs settings and for display of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44)    the CIFS statistics (started)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) h) implement support for security and trusted categories of xattrs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47)    (requires minor protocol extension) to enable better support for SELINUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50)    feature (may be especially useful for virtualization).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) j) Create UID mapping facility so server UIDs can be mapped on a per
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53)    mount or a per server basis to client UIDs or nobody if no mapping
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54)    exists. Also better integration with winbind for resolving SID owners
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) k) Add tools to take advantage of more smb3 specific ioctls and features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57)    (passthrough ioctl/fsctl is now implemented in cifs.ko to allow
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58)    sending various SMB3 fsctls and query info and set info calls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59)    directly from user space) Add tools to make setting various non-POSIX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60)    metadata attributes easier from tools (e.g. extending what was done
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61)    in smb-info tool).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) l) encrypted file support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) m) improved stats gathering tools (perhaps integration with nfsometer?)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66)    to extend and make easier to use what is currently in /proc/fs/cifs/Stats
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) n) Add support for claims based ACLs ("DAC")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) o) mount helper GUI (to simplify the various configuration options on mount)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) p) Add support for witness protocol (perhaps ioctl to cifs.ko from user space
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73)    tool listening on witness protocol RPC) to allow for notification of share
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74)    move, server failover, and server adapter changes.  And also improve other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75)    failover scenarios, e.g. when client knows multiple DFS entries point to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76)    different servers, and the server we are connected to has gone down.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) q) Allow mount.cifs to be more verbose in reporting errors with dialect
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79)    or unsupported feature errors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) r) updating cifs documentation, and user guide.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) s) Addressing bugs found by running a broader set of xfstests in standard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84)    file system xfstest suite.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) t) split cifs and smb3 support into separate modules so legacy (and less
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87)    secure) CIFS dialect can be disabled in environments that don't need it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88)    and simplify the code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) v) POSIX Extensions for SMB3.1.1 (started, create and mkdir support added
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91)    so far).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) w) Add support for additional strong encryption types, and additional spnego
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94)    authentication mechanisms (see MS-SMB2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) x) Finish support for SMB3.1.1 compression
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) Known Bugs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) See https://bugzilla.samba.org - search on product "CifsVFS" for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) current bug list.  Also check http://bugzilla.kernel.org (Product = File System, Component = CIFS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 1) existing symbolic links (Windows reparse points) are recognized but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)    can not be created remotely. They are implemented for Samba and those that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)    support the CIFS Unix extensions, although earlier versions of Samba
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)    overly restrict the pathnames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 2) follow_link and readdir code does not follow dfs junctions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)    but recognizes them
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Misc testing to do
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) ==================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 1) check out max path names and max path name components against various server
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)    types. Try nested symlinks (8 deep). Return max path name in stat -f information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 2) Improve xfstest's cifs/smb3 enablement and adapt xfstests where needed to test
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117)    cifs/smb3 better
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 3) Additional performance testing and optimization using iozone and similar -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120)    there are some easy changes that can be done to parallelize sequential writes,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)    and when signing is disabled to request larger read sizes (larger than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122)    negotiated size) and send larger write sizes to modern servers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 4) More exhaustively test against less common servers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 5) Continue to extend the smb3 "buildbot" which does automated xfstesting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)    against Windows, Samba and Azure currently - to add additional tests and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)    to allow the buildbot to execute the tests faster. The URL for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)    buildbot is: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 6) Address various coverity warnings (most are not bugs per-se, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)    the more warnings are addressed, the easier it is to spot real
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133)    problems that static analyzers will point out in the future).