mbox series

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

Message ID 160382535113.1203387.16777876271740782481.stgit@magnolia (mailing list archive)
Headers show
Series various: test xfs things fixed in 5.10 | expand

Message

Darrick J. Wong Oct. 27, 2020, 7:02 p.m. UTC
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.

--D

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=test-fixes-5.10
---
 tests/generic/947     |  117 ++++++++++++++++++++++++++++++++
 tests/generic/947.out |   15 ++++
 tests/generic/948     |   90 ++++++++++++++++++++++++
 tests/generic/948.out |    9 ++
 tests/generic/group   |    2 +
 tests/xfs/122.out     |    1 
 tests/xfs/758         |   59 ++++++++++++++++
 tests/xfs/758.out     |    2 +
 tests/xfs/759         |   99 +++++++++++++++++++++++++++
 tests/xfs/759.out     |    2 +
 tests/xfs/760         |   66 ++++++++++++++++++
 tests/xfs/760.out     |    9 ++
 tests/xfs/761         |   42 +++++++++++
 tests/xfs/761.out     |    1 
 tests/xfs/763         |  181 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/763.out     |   91 +++++++++++++++++++++++++
 tests/xfs/915         |  176 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/915.out     |  151 +++++++++++++++++++++++++++++++++++++++++
 tests/xfs/group       |    6 ++
 19 files changed, 1119 insertions(+)
 create mode 100755 tests/generic/947
 create mode 100644 tests/generic/947.out
 create mode 100755 tests/generic/948
 create mode 100644 tests/generic/948.out
 create mode 100755 tests/xfs/758
 create mode 100644 tests/xfs/758.out
 create mode 100755 tests/xfs/759
 create mode 100644 tests/xfs/759.out
 create mode 100755 tests/xfs/760
 create mode 100644 tests/xfs/760.out
 create mode 100755 tests/xfs/761
 create mode 100644 tests/xfs/761.out
 create mode 100755 tests/xfs/763
 create mode 100644 tests/xfs/763.out
 create mode 100755 tests/xfs/915
 create mode 100644 tests/xfs/915.out

Comments

Theodore Ts'o Oct. 27, 2020, 9:32 p.m. UTC | #1
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.

Thanks!!

					- Ted
Darrick J. Wong Oct. 27, 2020, 10:27 p.m. UTC | #2
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