xfs: replace log_badcrc_factor knob with error injection tag
authorBrian Foster <bfoster@redhat.com>
Tue, 27 Jun 2017 16:52:32 +0000 (09:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 28 Jun 2017 01:23:21 +0000 (18:23 -0700)
commit3e88a0078ba8ef61816c85d33131827b4a307852
tree5ba0313c626653a569701246cdef5e07d6ae7012
parentf8c47250ba46eb221d1ac537266ac65bcf2866d5
xfs: replace log_badcrc_factor knob with error injection tag

Now that error injection tags support dynamic frequency adjustment,
replace the debug mode sysfs knob that controls log record CRC error
injection with an error injection tag.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_error.c
fs/xfs/xfs_error.h
fs/xfs/xfs_log.c
fs/xfs/xfs_sysfs.c