]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: convert drop_writes to use the errortag mechanism
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 21 Jun 2017 00:54:48 +0000 (17:54 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 28 Jun 2017 01:23:20 +0000 (18:23 -0700)
commitcf011b92dbb8d3f673403f63b4ee13088cfb55ab
tree34b722bde56dd32d002993116f97a433013720f5
parent52ab40decc9b65b3b3a2862a64b4a8bd4b71a086
xfs: convert drop_writes to use the errortag mechanism

We now have enhanced error injection that can control the frequency
with which errors happen, so convert drop_writes to use this.

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