Re: [RFC xfstests PATCH] xfstests: add a writeback error handling test

From: Christoph Hellwig
Date: Mon Apr 24 2017 - 11:00:44 EST


On Mon, Apr 24, 2017 at 09:45:51AM -0400, Jeff Layton wrote:
> With the patch series above, ext4 now passes. xfs and btrfs end up in
> r/o mode after the test. xfs returns -EIO at that point though, and
> btrfs returns -EROFS. What behavior we actually want there, I'm not
> certain. We might be able to mitigate that by putting the journals on a
> separate device?

This looks like XFS shut down because of a permanent write error from
dm-error. Which seems like the expected behavior.