Re: [PATCH 0/7] various: test xfs things fixed in 5.10

Darrick J. Wong
2020-10-27T22:27:37Z

On Tue, Oct 27, 2020 at 05:32:31PM -0400, Theodore Y. Ts'o wrote:
> On Tue, Oct 27, 2020 at 12:02:31PM -0700, Darrick J. Wong wrote:
> > Hi all,
> >
> > Here are a bunch of new tests for problems that were fixed in 5.10.
> > Er.... 5.10 and 5.9. I have not been good at sending to fstests
> > upstream lately. :( :(
> >
> > If you're going to start using this mess, you probably ought to just
> > pull from my git trees, which are linked below.
> >
> > This is an extraordinary way to destroy everything. Enjoy!
> > Comments and questions are, as always, welcome.
>
> Hey Darrick, on a slightly different topic, you had mentioned on last
> week's ext4 video chat that you had been working on some patches to
> allow specific blocks to be forced to return EIO, at specific times,
> to test how a file system handles errors when writing to data blocks,
> metadata blocks, journal, etc.
>
> Are there early versions of those patches available for us to play
> with? I'm interesting in using that infrastructure for adding some
> ext4 tests along those lines.

They're not even early versions; these have been in my fstests tree for
years but I haven't had time to get them upstreamed. :(

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfstests-dev.git/commit/?h=scrub-media-error-reporting_2020-10-27&id=2cc930d7f0034879218efc2292b7e4eb2aaa3fea

--D

> Thanks!!
>
> - Ted