[GIT PULL 15/23] xfs_scrub_all: automatic media scan service

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

 



Hi Carlos,

Please pull this branch with changes for xfsprogs for 6.10-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.

The following changes since commit 50411335572120153cc84d54213cd5ca9dd11b14:

xfs_scrub_all: tighten up the security on the background systemd service (2024-07-29 17:01:10 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/scrub-media-scan-service-6.10_2024-07-29

for you to fetch changes up to e040916f649f71fb6a695dfcc6f6c9f576c5c4db:

xfs_scrub_all: failure reporting for the xfs_scrub_all job (2024-07-29 17:01:10 -0700)

----------------------------------------------------------------
xfs_scrub_all: automatic media scan service [v30.9 15/28]

Now that we've completed the online fsck functionality, there are a few
things that could be improved in the automatic service.  Specifically,
we would like to perform a more intensive metadata + media scan once per
month, to give the user confidence that the filesystem isn't losing data
silently.  To accomplish this, enhance xfs_scrub_all to be able to
trigger media scans.  Next, add a duplicate set of system services that
start the media scans automatically.

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

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

----------------------------------------------------------------
Darrick J. Wong (6):
xfs_scrub_all: only use the xfs_scrub@ systemd services in service mode
xfs_scrub_all: remove journalctl background process
xfs_scrub_all: support metadata+media scans of all filesystems
xfs_scrub_all: enable periodic file data scrubs automatically
xfs_scrub_all: trigger automatic media scans once per month
xfs_scrub_all: failure reporting for the xfs_scrub_all job

debian/rules                                     |   3 +-
include/builddefs.in                             |   3 +
man/man8/Makefile                                |   7 +-
man/man8/{xfs_scrub_all.8 => xfs_scrub_all.8.in} |  20 +++-
scrub/Makefile                                   |  21 +++-
scrub/xfs_scrub@xxxxxxxxxxx                      |   2 +-
scrub/xfs_scrub_all.cron.in                      |   2 +-
scrub/xfs_scrub_all.in                           | 126 ++++++++++++++++++-----
scrub/xfs_scrub_all.service.in                   |   9 +-
scrub/xfs_scrub_all_fail.service.in              |  71 +++++++++++++
scrub/xfs_scrub_fail.in                          |  46 +++++++--
scrub/xfs_scrub_fail@xxxxxxxxxxx                 |   2 +-
scrub/xfs_scrub_media@xxxxxxxxxxx                | 100 ++++++++++++++++++
scrub/xfs_scrub_media_fail@xxxxxxxxxxx           |  76 ++++++++++++++
14 files changed, 443 insertions(+), 45 deletions(-)
rename man/man8/{xfs_scrub_all.8 => xfs_scrub_all.8.in} (59%)
create mode 100644 scrub/xfs_scrub_all_fail.service.in
create mode 100644 scrub/xfs_scrub_media@xxxxxxxxxxx
create mode 100644 scrub/xfs_scrub_media_fail@xxxxxxxxxxx





[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