Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d519da41 authored by Marco Benatto's avatar Marco Benatto Committed by Darrick J. Wong
Browse files

xfs: Introduce XFS_PTAG_VERIFIER_ERROR panic mask


Currently we have a few PTAGs in place allowing us to transform a filesystem
error in a BUG() call.  However, we don't have a panic tag for corrupt
metadata, so introduce XFS_PTAG_VERIFIER_ERROR so that the administrator can
use the fs.xfs.panic_mask sysctl knob to convert any error detected by buffer
verifiers into a kernel panic.

Signed-off-by: default avatarMarco Benatto <mbenatto@redhat.com>
Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
[darrick: light editing of commit message]
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent e88db816
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment