All of lore.kernel.org
 help / color / mirror / Atom feed
* New kvm-xfstests images uploaded
@ 2017-03-06  5:58 Theodore Ts'o
  2017-03-09 12:29 ` Amir Goldstein
  0 siblings, 1 reply; 6+ messages in thread
From: Theodore Ts'o @ 2017-03-06  5:58 UTC (permalink / raw)
  To: linux-fstests; +Cc: linux-ext4, linux-fscrypt

I've uploaded a new kvm-xfstests image at:

https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests

This has the latest xfstests, xfsprogs, and e2fsprogs update, as well
as changes to help debug problems in the journal_lazy patches:

e2fsprogs	v1.43.4-27-g686994eb (Fri, 3 Mar 2017 10:02:14 -0500)
fio		fio-2.17-1-g54441e7 (Wed, 18 Jan 2017 08:18:28 -0700)
quota		e0b6335 (Thu, 9 Feb 2017 11:55:45 +0100)
stress-ng	4ad62e1 (Mon, 27 Feb 2017 14:28:36 -0500)
xfsprogs	v4.10.0-rc1 (Wed, 15 Feb 2017 21:48:31 -0600)
xfstests-bld	032c8c3 (Fri, 3 Mar 2017 21:03:05 -0500)
xfstests	linux-v3.8-1414-g999e3f6 (Sun, 5 Mar 2017 19:11:35 -0500)

Also updated is the armhf_rootfs.tar.gz, and there is also a new
gce-xfstests test appliance image available as well.

Cheers,

					- Ted

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New kvm-xfstests images uploaded
  2017-03-06  5:58 New kvm-xfstests images uploaded Theodore Ts'o
@ 2017-03-09 12:29 ` Amir Goldstein
  2017-03-09 12:31   ` Amir Goldstein
  0 siblings, 1 reply; 6+ messages in thread
From: Amir Goldstein @ 2017-03-09 12:29 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-fstests, linux-unionfs, Eryu Guan

On Mon, Mar 6, 2017 at 7:58 AM, Theodore Ts'o <tytso@mit.edu> wrote:
> I've uploaded a new kvm-xfstests image at:
>
> https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests
>
> This has the latest xfstests, xfsprogs, and e2fsprogs update, as well
> as changes to help debug problems in the journal_lazy patches:
>
> e2fsprogs       v1.43.4-27-g686994eb (Fri, 3 Mar 2017 10:02:14 -0500)
> fio             fio-2.17-1-g54441e7 (Wed, 18 Jan 2017 08:18:28 -0700)
> quota           e0b6335 (Thu, 9 Feb 2017 11:55:45 +0100)
> stress-ng       4ad62e1 (Mon, 27 Feb 2017 14:28:36 -0500)
> xfsprogs        v4.10.0-rc1 (Wed, 15 Feb 2017 21:48:31 -0600)
> xfstests-bld    032c8c3 (Fri, 3 Mar 2017 21:03:05 -0500)
> xfstests        linux-v3.8-1414-g999e3f6 (Sun, 5 Mar 2017 19:11:35 -0500)

Ted,

That is not an xfstests commit (is it??)

The reason I am asking is because I want to change kvm-xfstests
overlay cfg scripts to use the new xfstests overlay config. e.g.::

SIZE=large
export TEST_DEV=$LG_TST_DEV
export TEST_DIR=$LG_TST_MNT
export SCRATCH_DEV=$LG_SCR_DEV
export SCRATCH_MNT=$LG_SCR_MNT

The benefit of this setup is (quoting myself) "to help catch overlayfs bugs
related to leaking objects in underlying (base) fs", because with this
setup, base fs is cycle mounted after every test.

This change requires xfstests commit
33e4199 ("overlay: use OVL_BASE_SCRATCH_MNT instead of SCRATCH_DEV")

Currently, xfstests-bld default config file does not even include a
default value
for XFSTESTS_COMMIT.

Should I just go on and send you a patch and let you (and other
xfstests-bld users)
worry about using a recent enough version of xfstests?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New kvm-xfstests images uploaded
  2017-03-09 12:29 ` Amir Goldstein
@ 2017-03-09 12:31   ` Amir Goldstein
  2017-03-09 15:49     ` Theodore Ts'o
  0 siblings, 1 reply; 6+ messages in thread
From: Amir Goldstein @ 2017-03-09 12:31 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-unionfs, Eryu Guan, fstests

[re-sending with correct address of fstests list]

On Thu, Mar 9, 2017 at 2:29 PM, Amir Goldstein <amir73il@gmail.com> wrote:
> On Mon, Mar 6, 2017 at 7:58 AM, Theodore Ts'o <tytso@mit.edu> wrote:
>> I've uploaded a new kvm-xfstests image at:
>>
>> https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests
>>
>> This has the latest xfstests, xfsprogs, and e2fsprogs update, as well
>> as changes to help debug problems in the journal_lazy patches:
>>
>> e2fsprogs       v1.43.4-27-g686994eb (Fri, 3 Mar 2017 10:02:14 -0500)
>> fio             fio-2.17-1-g54441e7 (Wed, 18 Jan 2017 08:18:28 -0700)
>> quota           e0b6335 (Thu, 9 Feb 2017 11:55:45 +0100)
>> stress-ng       4ad62e1 (Mon, 27 Feb 2017 14:28:36 -0500)
>> xfsprogs        v4.10.0-rc1 (Wed, 15 Feb 2017 21:48:31 -0600)
>> xfstests-bld    032c8c3 (Fri, 3 Mar 2017 21:03:05 -0500)
>> xfstests        linux-v3.8-1414-g999e3f6 (Sun, 5 Mar 2017 19:11:35 -0500)
>
> Ted,
>
> That is not an xfstests commit (is it??)
>
> The reason I am asking is because I want to change kvm-xfstests
> overlay cfg scripts to use the new xfstests overlay config. e.g.::
>
> SIZE=large
> export TEST_DEV=$LG_TST_DEV
> export TEST_DIR=$LG_TST_MNT
> export SCRATCH_DEV=$LG_SCR_DEV
> export SCRATCH_MNT=$LG_SCR_MNT
>
> The benefit of this setup is (quoting myself) "to help catch overlayfs bugs
> related to leaking objects in underlying (base) fs", because with this
> setup, base fs is cycle mounted after every test.
>
> This change requires xfstests commit
> 33e4199 ("overlay: use OVL_BASE_SCRATCH_MNT instead of SCRATCH_DEV")
>
> Currently, xfstests-bld default config file does not even include a
> default value
> for XFSTESTS_COMMIT.
>
> Should I just go on and send you a patch and let you (and other
> xfstests-bld users)
> worry about using a recent enough version of xfstests?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New kvm-xfstests images uploaded
  2017-03-09 12:31   ` Amir Goldstein
@ 2017-03-09 15:49     ` Theodore Ts'o
  2017-03-09 16:25       ` Amir Goldstein
  0 siblings, 1 reply; 6+ messages in thread
From: Theodore Ts'o @ 2017-03-09 15:49 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: linux-unionfs, Eryu Guan, fstests

On Thu, Mar 09, 2017 at 02:31:39PM +0200, Amir Goldstein wrote:
> [re-sending with correct address of fstests list]
> 
> On Thu, Mar 9, 2017 at 2:29 PM, Amir Goldstein <amir73il@gmail.com> wrote:
> > On Mon, Mar 6, 2017 at 7:58 AM, Theodore Ts'o <tytso@mit.edu> wrote:
> >> I've uploaded a new kvm-xfstests image at:
> >>
> >> https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests
> >>
> >> This has the latest xfstests, xfsprogs, and e2fsprogs update, as well
> >> as changes to help debug problems in the journal_lazy patches:
> >>
> >> e2fsprogs       v1.43.4-27-g686994eb (Fri, 3 Mar 2017 10:02:14 -0500)
> >> fio             fio-2.17-1-g54441e7 (Wed, 18 Jan 2017 08:18:28 -0700)
> >> quota           e0b6335 (Thu, 9 Feb 2017 11:55:45 +0100)
> >> stress-ng       4ad62e1 (Mon, 27 Feb 2017 14:28:36 -0500)
> >> xfsprogs        v4.10.0-rc1 (Wed, 15 Feb 2017 21:48:31 -0600)
> >> xfstests-bld    032c8c3 (Fri, 3 Mar 2017 21:03:05 -0500)
> >> xfstests        linux-v3.8-1414-g999e3f6 (Sun, 5 Mar 2017 19:11:35 -0500)
> >
> > That is not an xfstests commit (is it??)

Sorry, I didn't include the explanation from the REAME file.  I have a
number of private changes to xfstests that are available on github:

    https://github.com/tytso/xfstests release-2017-03-05-999e3f6f


A quick summary of the out-of-tree patches which I am carrying (there
are only four at the moment):

999e3f6f common: run "e2fsck -E journal_only -p" before checking the (ext4) file system

   This is needed to do some development work to try and integrate the
   "SMR-friendly" journalling patches described in the recent FAST 2017
   paper.

   In the long run I'll probably add code so that e2fsck will be able
   to do "true" read-only checks, without needing to replay a
   non-empty journal.  This would be done by reading in the journal,
   and then redirecting block reads to the latest version of that
   blocks in the journal.  Since that isn't ready yet, I needed to
   have a way force a journal replay before doing an fsck -n read-only
   check of the file system.  Since it's a short-term hack, I didn't
   bother to send it upstream.

aa1a75a0 check: try to fix the test device if it gets corrupted

   Sent upstream for review
 
4ed6a0e9 common: add support for the "local" file system type

   This is needed to test a userspace file system that can't be
   mounted or unmounted.  Dave Chinner didn't like the fact that it
   for was something proprietary and not yet disclosed, but I wlil
   point out that if someone was interested in using xfstests to test
   the POSIX support in the Windows 10 Linux emulation layer, it
   would be *perfect* for that sort of thing.


8cfe428f common: introduce XFS_IO_AVOID env var

    This allows me to restrict all punch, collapse, insert, or zero
    tests by specifying an environment variable that causes
    _require_punch, et. al, to report that the file system feature is
    not available.

    Sent upstream and rejected; Dave Chinner felt that this is better
    done by using -x collapse and defining new groups which contained
    all tests that uses collapse, punch, insert, etc.  This is a very
    simple patch, and I infinitely prefer this approach over Dave's
    approach, because people have a tendency to add tests and not
    necessarily add the tests to all of the right groups.  Since this
    information is already encoded in the test via _require_FOO, and
    it's simpler for me to carry this patch than to either (a) keep an
    eagle eye on all new tests to make sure they have the right groups
    added, or (b) arguing with Dave about it, I've kept this patch
    around.

    It means that someone using the kvm-xfstests or gce-xfstests with
    the upstream xfstests won't have --no-collapse, --no-punch,
    et. al. working correctly, but this seems to be mostly something I
    use when I'm trying to check whether a particular reported bug can
    be localized to one the fallocate extent tree operations, which
    historically have been a source of "interesting" bugs for ext4.


> > The reason I am asking is because I want to change kvm-xfstests
> > overlay cfg scripts to use the new xfstests overlay config. e.g.::
> >
> > SIZE=large
> > export TEST_DEV=$LG_TST_DEV
> > export TEST_DIR=$LG_TST_MNT
> > export SCRATCH_DEV=$LG_SCR_DEV
> > export SCRATCH_MNT=$LG_SCR_MNT
> >

It's been on my todo list try out your patches and to make the
appropriate adjustments to the overlay file system support code, but I
haven't had the time to do this yet.  If you'd like to send me
patches, please do feel free!

						- Ted

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New kvm-xfstests images uploaded
  2017-03-09 15:49     ` Theodore Ts'o
@ 2017-03-09 16:25       ` Amir Goldstein
  0 siblings, 0 replies; 6+ messages in thread
From: Amir Goldstein @ 2017-03-09 16:25 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-unionfs, Eryu Guan, fstests

On Thu, Mar 9, 2017 at 5:49 PM, Theodore Ts'o <tytso@mit.edu> wrote:
> On Thu, Mar 09, 2017 at 02:31:39PM +0200, Amir Goldstein wrote:
>> [re-sending with correct address of fstests list]
>>
[...]
>> > The reason I am asking is because I want to change kvm-xfstests
>> > overlay cfg scripts to use the new xfstests overlay config. e.g.::
>> >
>> > SIZE=large
>> > export TEST_DEV=$LG_TST_DEV
>> > export TEST_DIR=$LG_TST_MNT
>> > export SCRATCH_DEV=$LG_SCR_DEV
>> > export SCRATCH_MNT=$LG_SCR_MNT
>> >
>
> It's been on my todo list try out your patches and to make the
> appropriate adjustments to the overlay file system support code, but I
> haven't had the time to do this yet.  If you'd like to send me
> patches, please do feel free!
>

Change is trivial (as seen above)
I sent a github pull request
https://github.com/tytso/xfstests-bld/pull/4

Tested it with
kvm-xfstests -c overlay/large -g quick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* New kvm-xfstests images uploaded
@ 2015-05-06 23:12 Theodore Ts'o
  0 siblings, 0 replies; 6+ messages in thread
From: Theodore Ts'o @ 2015-05-06 23:12 UTC (permalink / raw)
  To: linux-ext4

I've uploaded a new kvm-xfstests image at:

https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests

This has an updated e2fsprogs, xfstests, xfsprogs, etc:

efsprogs	v1.42.12-548-g8804a96 (Tue, 5 May 2015 10:52:12 -0400)
fio		fio-2.2.6 (Fri, 27 Feb 2015 08:30:04 -0700)
quota		022aabf (Wed, 26 Nov 2014 10:22:08 +0100)
xfsprogs	v3.2.2-36-g502544b (Mon, 13 Apr 2015 09:33:50 +1000)
xfstests-bld	843186f (Tue, 5 May 2015 23:53:00 -0400)
xfstests	linux-v3.8-656-gc3d3e1e (Mon, 4 May 2015 22:56:13 +1000)

Quick start information for using kvm-xfstests can be found here:

https://git.kernel.org/cgit/fs/ext2/xfstests-bld.git/plain/quick-start?h=META

Cheers,

						- Ted

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-09 16:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06  5:58 New kvm-xfstests images uploaded Theodore Ts'o
2017-03-09 12:29 ` Amir Goldstein
2017-03-09 12:31   ` Amir Goldstein
2017-03-09 15:49     ` Theodore Ts'o
2017-03-09 16:25       ` Amir Goldstein
  -- strict thread matches above, loose matches on Subject: below --
2015-05-06 23:12 Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.