fsinfo: add error state information to fsinfo
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | errseq: add a new errseq_scrape functioninclude/ lib/ | +32 | 0 replies | |
| 2/3 | vfs: allow fsinfo to fetch the current state of s_wb_errfs/ include/ | +24 | 0 replies | |
| 3/3 | samples: add error state information to test-fsinfo.csamples/ | +10 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | David Howells | Carlos Maiolino |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [fsinfo PATCH v2 0/3] fsinfo: add error state information to fsinfo
Hi David,
I sent a draft version of these patches back in 2018. The per-sb errseq_t tracking was just merged for v5.8, so most of the underlying infrastructure is now in place. Wiring up the reporting of that to fsinfo() is fairly trivial.
Can you toss these onto your fsinfo pile? If that goes in at some point in the future, it'd be nice to have this infolevel available on day 1. This is based on your current fsinfo-core branch. The patches are also available here if you want to cherry-pick them instead:
https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git/log/?h=fsinfo-wberr
Thanks!
Jeff Layton (3):
errseq: add a new errseq_scrape function
vfs: allow fsinfo to fetch the current state of s_wb_err
samples: add error state information to test-fsinfo.c
fs/fsinfo.c | 11 +++++++++++ include/linux/errseq.h | 1 + include/uapi/linux/fsinfo.h | 13 +++++++++++++ lib/errseq.c | 33 +++++++++++++++++++++++++++++++-- samples/vfs/test-fsinfo.c | 10 ++++++++++ 5 files changed, 66 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.2