Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1638200

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

From Jeff Layton <jlayton@redhat.com>
Newsgroups linux.kernel
Subject Re: [RFC xfstests PATCH] xfstests: add a writeback error handling test
Date 2017-05-09 17:40 +0200
Message-ID <tFfp0-3Bv-25@gated-at.bofh.it> (permalink)
References <tzMxk-7FA-23@gated-at.bofh.it> <tzNMJ-7V-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2017-04-24 at 08:00 -0700, Christoph Hellwig wrote:
> 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.

Oops, didn't see this message earlier...

Yeah, that's entirely reasonable when there is a write error to the
journal. The latest version of this uses $SCRATCH_LOGDEV to put the
journal on a different device, and with that I get the expected behavior
from xfs.

Thanks,
-- 
Jeff Layton <jlayton@redhat.com>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC xfstests PATCH] xfstests: add a writeback error handling  test Jeff Layton <jlayton@redhat.com> - 2017-05-09 17:40 +0200

csiph-web