]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteaf3df00415081a13bb5d1ab53ab6e43240a6d24
tree5ba0313c626653a569701246cdef5e07d6ae7012
parentef7e661c4960dc45dff71c5f5fddc9eeeeffe416
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