[PATCHSET 0/3] xfs: indirect health reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This series enables the XFS health reporting infrastructure to remember
indirect health concerns when resources are scarce.  For example, if a
scrub notices that there's something wrong with an inode's metadata but
memory reclaim needs to kill the incore inode, we ought to be able to
report that indirect observation in the AGI health report.

The first two patches in this series set that up, and the third one
provides a means for xfs_scrub to tell the kernel that it can forget the
indirect problem report.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=indirect-health-reporting

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=indirect-health-reporting
---
 fs/xfs/libxfs/xfs_fs.h        |    4 +-
 fs/xfs/libxfs/xfs_health.h    |   45 ++++++++++++++++++++++
 fs/xfs/libxfs/xfs_inode_buf.c |    2 -
 fs/xfs/scrub/health.c         |   83 +++++++++++++++++++++++++++++++++++++++++
 fs/xfs/scrub/health.h         |    1 
 fs/xfs/scrub/repair.c         |    1 
 fs/xfs/scrub/scrub.c          |    6 +++
 fs/xfs/scrub/trace.h          |    3 +
 fs/xfs/xfs_health.c           |   25 ++++++++----
 fs/xfs/xfs_inode.c            |   30 +++++++++++++++
 fs/xfs/xfs_trace.h            |    1 
 11 files changed, 189 insertions(+), 12 deletions(-)




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux