linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: darrick.wong@oracle.com
Cc: linux-xfs@vger.kernel.org
Subject: [PATCHSET 0/3] xfs: indirect health reporting
Date: Thu, 31 Dec 2020 14:44:01 -0800	[thread overview]
Message-ID: <160945464103.2829466.5974313466919932084.stgit@magnolia> (raw)
In-Reply-To: <20201231223847.GI6918@magnolia>

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(-)


  parent reply	other threads:[~2020-12-31 22:44 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-31 22:38 2020 NYE Patchbomb Guide! Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET 0/1] xfs: increase pwork parallelism Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET 00/11] xfs: more scrub fixes Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET 0/5] xfs: fix reflink inefficiencies Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET v2 0/2] xfs: fix online repair block reaping Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET v2 0/3] xfs: rework online repair incore bitmap Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET v2 0/3] xfs: prepare repair for bulk loading Darrick J. Wong
2020-12-31 22:42 ` [PATCHSET 0/3] xfs: online scrubbing of realtime summary files Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET v22 0/4] xfs: online repair of AG btrees Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET v22 0/4] xfs: online repair of inodes and extent maps Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET v22 0/6] xfs: online repair of quota and counters Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET 00/10] xfs: report corruption to the health trackers Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET v2 0/6] xfs: try harder to reclaim space when we run out Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET 0/6] xfs: consolidate posteof and cowblocks cleanup Darrick J. Wong
2020-12-31 22:43 ` [PATCHSET v2 0/7] xfs: deferred inode inactivation Darrick J. Wong
2020-12-31 22:44 ` Darrick J. Wong [this message]
2020-12-31 22:44 ` [PATCHSET v22 0/5] xfs: online repair hard problems Darrick J. Wong
2020-12-31 22:44 ` [PATCHSET 0/4] xfs: widen BUI formats to support rt Darrick J. Wong
2020-12-31 22:44 ` [PATCHSET 0/2] xfs: support attrfork and unwritten BUIs Darrick J. Wong
2020-12-31 22:44 ` [PATCHSET RFC v2 00/17] xfs: atomic file updates Darrick J. Wong
2020-12-31 22:44 ` [PATCHSET v22 0/3] xfs: online repair of realtime summaries Darrick J. Wong
2020-12-31 22:44 ` [PATCHSET v22 0/3] xfs: online repair of extended attributes Darrick J. Wong
2020-12-31 22:44 ` [PATCHSET v22 0/4] xfs: online repair of directories Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET v2 00/20] xfs: hoist inode operations to libxfs Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET v2 00/15] xfs: metadata inode directories Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET 00/14] xfs: refactor btrees to support records in inode root Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET 00/13] xfs: support dynamic btree cursor height Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET 0/2] xfs: refactor realtime meta inode locking Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET 0/2] xfs: enable in-core block reservation for rt metadata Darrick J. Wong
2020-12-31 22:45 ` [PATCHSET 0/3] xfs: widen EFI format to support rt Darrick J. Wong
2020-12-31 22:46 ` [PATCHSET v11 00/27] xfs: realtime reverse-mapping support Darrick J. Wong
2020-12-31 22:46 ` [PATCHSET RFC 0/4] xfs: noalloc allocation groups Darrick J. Wong
2020-12-31 22:46 ` [PATCHSET 00/31] xfs: reflink on the realtime device Darrick J. Wong
2020-12-31 22:46 ` [PATCHSET 0/7] xfs: reflink with large realtime extents Darrick J. Wong
2020-12-31 22:46 ` [PATCHSET v3 0/2] xfs_db: add minimal directory navigation Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 0/3] xfs: add the ability to flag a fs for repair Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 0/2] xfs_admin: support upgrading v5 filesystems Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET v2 0/2] xfs_repair: rebuild inode fork mappings Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 0/2] xfsprogs: packaging cleanups Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 0/5] xfsprogs: file write utility refactoring Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 0/3] xfs_scrub: improve balancing of threads for inode scan Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 0/4] xfs_scrub: second fixes series Darrick J. Wong
2020-12-31 22:47 ` [PATCHSET 00/12] xfs_scrub: track data dependencies for repairs Darrick J. Wong
2020-12-31 22:48 ` [PATCHSET 0/5] xfstests: establish baseline for fuzz tests Darrick J. Wong
2020-12-31 22:48 ` [PATCHSET 00/15] xfstests: improve xfs fuzzing Darrick J. Wong
2020-12-31 22:48 ` [PATCHSET 0/2] xfstests: strengthen fuzz testing Darrick J. Wong
2020-12-31 22:48 ` [PATCHSET 0/3] common/dm*: support external log and rt devices Darrick J. Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160945464103.2829466.5974313466919932084.stgit@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).