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)
commitf8c47250ba46eb221d1ac537266ac65bcf2866d5
tree34b722bde56dd32d002993116f97a433013720f5
parent9e24cfd044853e0e46e7149b91b7bb09effb0a79
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