]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: create an ioctl to scrub AG metadata
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Oct 2017 04:37:34 +0000 (21:37 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:23 +0000 (15:38 -0700)
commit3d35b593e7f69b2547025f85353a755917645270
tree951985ea1ff0da802cf28e472fe09412620dc0d5
parentf8c3a765a5bf01345f880f5d0dd4909e95d2519e
xfs: create an ioctl to scrub AG metadata

Create an ioctl that can be used to scrub internal filesystem metadata.
The new ioctl takes the metadata type, an (optional) AG number, an
(optional) inode number and generation, and a flags argument.  This will
be used by the upcoming XFS online scrub tool.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/Kconfig
fs/xfs/Makefile
fs/xfs/libxfs/xfs_fs.h
fs/xfs/scrub/scrub.c [new file with mode: 0644]
fs/xfs/scrub/scrub.h [new file with mode: 0644]
fs/xfs/scrub/trace.c [new file with mode: 0644]
fs/xfs/scrub/trace.h [new file with mode: 0644]
fs/xfs/scrub/xfs_scrub.h [new file with mode: 0644]
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl32.c