fs: allow statmount to fetch the fs_subtype and sb_source
Status from this message: Applied to the vfs.misc branch of the vfs/vfs.git tree.
Get series with b4
b4 am [email protected] change-id 20241106-statmount-3f91a7ed75faVersions newest first
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 4 replies | Superseded |
Changes in v4 from the cover letter
- Rename mnt_devname to sb_source
- Break statmount_string() behavior changes out into separate patch
- Link to v3: https://lore.kernel.org/r/[email protected]
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fs: don't let statmount return empty stringsfs/ | +11 | 1 reply | |
| 2/3 | fs: add the ability for statmount() to report the fs_subtypefs/ include/ | +21 | 0 replies | |
| 3/3 | fs: add the ability for statmount() to report the sb_sourcefs/ include/ | +37 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jan Kara | Ian Kent | Miklos Szeredi | Jeff Layton |
|---|---|---|---|---|
| Series | A-b | R-b | ||
| 1/3 | R-b | |||
| 2/3 | R-b | R-b | ||
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v4 0/3] fs: allow statmount to fetch the fs_subtype and sb_source
Meta has some internal logging that scrapes /proc/self/mountinfo today. I'd like to convert it to use listmount()/statmount(), so we can do a better job of monitoring with containers. We're missing some fields though. This patchset adds them.
---
Changes in v4:
- Rename mnt_devname to sb_source
- Break statmount_string() behavior changes out into separate patch
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Unescape the result of ->show_devname
- Move handling of nothing being emitted out of the switch statement
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- make statmount_fs_subtype
- return fast if no subtype is emitted
- new patch to allow statmount() to return devicename
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Jeff Layton (3):
fs: don't let statmount return empty strings
fs: add the ability for statmount() to report the fs_subtype
fs: add the ability for statmount() to report the sb_source
fs/namespace.c | 68 ++++++++++++++++++++++++++++++++++++++++++---- include/uapi/linux/mount.h | 6 +++- 2 files changed, 67 insertions(+), 7 deletions(-)
---
base-commit: 26213e1a6caa5a7f508b919059b0122b451f4dfe
change-id: 20241106-statmount-3f91a7ed75fa
Best regards,
Signature · 1 line
Jeff Layton <[email protected]>