[GIT PULL 4/9] xfs: add usage counters for scrub

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

 



Hi Chandan,

Please pull this branch with changes for xfs for 6.6-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

--D

The following changes since commit 764018caa99f7629cefc92257a26b83289a674f3:

xfs: improve xfarray quicksort pivot (2023-08-10 07:48:07 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-usage-stats-6.6_2023-08-10

for you to fetch changes up to d7a74cad8f45133935c59ed0adf949f85238624b:

xfs: track usage statistics of online fsck (2023-08-10 07:48:07 -0700)

----------------------------------------------------------------
xfs: add usage counters for scrub [v26.1]

This series introduces simple usage and performance counters for the
online fsck subsystem.  The goal here is to enable developers and
sysadmins to look at summary counts of how many objects were checked and
repaired; what the outcomes were; and how much time the kernel has spent
on these operations.  The counter file is exposed in debugfs because
that's easier than cramming it into the device model, and debugfs
doesn't have rules against complex file contents, unlike sysfs.

This has been running on the djcloud for months with no problems.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: create scaffolding for creating debugfs entries
xfs: track usage statistics of online fsck

fs/xfs/Kconfig        |  17 +++
fs/xfs/Makefile       |   1 +
fs/xfs/scrub/repair.c |  11 +-
fs/xfs/scrub/repair.h |   7 +-
fs/xfs/scrub/scrub.c  |  11 +-
fs/xfs/scrub/stats.c  | 405 ++++++++++++++++++++++++++++++++++++++++++++++++++
fs/xfs/scrub/stats.h  |  59 ++++++++
fs/xfs/xfs_linux.h    |   1 +
fs/xfs/xfs_mount.c    |   9 +-
fs/xfs/xfs_mount.h    |   4 +
fs/xfs/xfs_super.c    |  53 ++++++-
fs/xfs/xfs_super.h    |   2 +
12 files changed, 569 insertions(+), 11 deletions(-)
create mode 100644 fs/xfs/scrub/stats.c
create mode 100644 fs/xfs/scrub/stats.h



[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