]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: create helpers to record and deal with scrub problems
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Oct 2017 04:37:36 +0000 (21:37 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:24 +0000 (15:38 -0700)
commiteeba26bc39028ec75e2b9632f35f4fb8b1ec5ebc
tree7458113e0bb9118fda04531dd9805611c786ee6c
parent4efa546660707ceda106a3966e9ca3e701fd4c51
xfs: create helpers to record and deal with scrub problems

Create helper functions to record crc and corruption problems, and
deal with any other runtime errors that arise.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/common.c
fs/xfs/scrub/common.h
fs/xfs/scrub/trace.h