ceph: add sysfs entries signifying new mount syntax support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest1 patch 2 repliesIn review
- v42 patches 9 repliesSuperseded
- v32 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 3 replies | Superseded | |
| v1 | 2 patches | 4 replies | Superseded |
Changes in v5 from the cover letter
- switch to sysfs instead of debugfs
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | ceph: mount syntax module parameterfs/ | +8 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/1] ceph: add sysfs entries signifying new mount syntax support
v5:
- switch to sysfs instead of debugfs
[This is based on top of new mount syntax series]
Patrick/Ilya proposed the idea of having sysfs entries to signify if kernel supports the new (v2) mount syntax. The primary use of this information is to catch any bugs in the new syntax implementation.
This would be done as follows::
The userspace mount helper tries to mount using the new mount syntax and fallsback to using old syntax if the mount using new syntax fails. However, a bug in the new mount syntax implementation can silently result in the mount helper switching to old syntax.
So, the sysfs entries can be relied upon by the mount helper to check if the kernel supports the new mount syntax. Cases when the mount using the new syntax fails, but the kernel does support the new mount syntax, the mount helper could probably log before switching to the old syntax (or fail the mount altogether when run in test mode).
sysfs entries are as follows::
/sys/module/ceph/parameters/
....
....
/sys/module/ceph/parameters/mount_syntax_v2
/sys/module/ceph/parameters/mount_syntax_v1
....
....Venky Shankar (1):
ceph: mount syntax module parameter
fs/ceph/super.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Signature · 1 line
2.27.0