mbox series

[fsinfo,v2,0/3] fsinfo: add error state information to fsinfo

Message ID 20200626150500.565417-1-jlayton@kernel.org (mailing list archive)
Headers show
Series fsinfo: add error state information to fsinfo | expand

Message

Jeffrey Layton June 26, 2020, 3:04 p.m. UTC
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(-)