[PATCHSET 0/3] xfs: online scrubbing of realtime summary files

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

 



Hi all,

This patchset implements an online checker for the realtime summary
file.  We begin with the xfile code from the repair series, which we use
here to build an in-memory copy of the summary information from the
ondisk realtime bitmap that can be paged out to disk.

Next, we move the rtsummary scrubber stub function into a separate file.

The final patch in the series implements the logic to build the
rtsummary file and compare it to the existing contents.

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=scrub-rtsummary
---
 fs/xfs/Kconfig           |    1 
 fs/xfs/Makefile          |    8 -
 fs/xfs/scrub/array.c     |  665 ++++++++++++++++++++++++++++++++++++++++++++++
 fs/xfs/scrub/array.h     |   49 +++
 fs/xfs/scrub/common.h    |   10 +
 fs/xfs/scrub/rtbitmap.c  |   41 ---
 fs/xfs/scrub/rtsummary.c |  327 +++++++++++++++++++++++
 fs/xfs/scrub/scrub.c     |    9 -
 fs/xfs/scrub/scrub.h     |    7 
 fs/xfs/scrub/trace.c     |    1 
 fs/xfs/scrub/trace.h     |  118 ++++++++
 fs/xfs/scrub/xfile.c     |  271 +++++++++++++++++++
 fs/xfs/scrub/xfile.h     |   23 ++
 13 files changed, 1486 insertions(+), 44 deletions(-)
 create mode 100644 fs/xfs/scrub/array.c
 create mode 100644 fs/xfs/scrub/array.h
 create mode 100644 fs/xfs/scrub/rtsummary.c
 create mode 100644 fs/xfs/scrub/xfile.c
 create mode 100644 fs/xfs/scrub/xfile.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