All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Zorro Lang <zlang@redhat.com>
Cc: Eric Sandeen <sandeen@sandeen.net>,
	Christian Brauner <brauner@kernel.org>,
	"fstests@vger.kernel.org" <fstests@vger.kernel.org>
Subject: Re: generic/699 fails on ext4 due to using ext4 mount options w/ overlayfs
Date: Wed, 19 Mar 2025 19:32:42 -0400	[thread overview]
Message-ID: <20250319233242.GC1079074@mit.edu> (raw)
In-Reply-To: <20250319200142.dmt2sz2jnotmyjeo@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com>

On Thu, Mar 20, 2025 at 04:01:42AM +0800, Zorro Lang wrote:
> Fstests supports overlayfs testing with different underlying fs, for example
> if you want to test overlay with ext4, you can set local.config as:
> 
>  FSTYP=ext4
>  TEST_DEV=/dev/sdb
>  TEST_DIR=/mnt/test
>  SCRATCH_DEV=/dev/sdc
>  SCRATCH_MNT=/mnt/scratch

Yes, I know.   My test appliances has autmation around setting local.config

> 
> then does:
> # mkfs.ext4 -F $TEST_DEV
> # mkfs.ext4 -F $SCRACH_DEV
> # mkdir /mnt/test
> # mkdir /mnt/scratch
> # ./check -overlay -g auto
> 
> For more details you can refer to xfstests/README.overlay.
> 
> Currently fstests only supports overlayfs testing as this, other fs, e.g. nfs,
> has to prepare nfs SCRATCH_DEV and TEST_DEV by the user. I'm thinking about
> supporting other upper fs testing likes overlay (if it's helpful).

I have automation that handles this, so I'm good:

./kvm-xfstests --primary-fstype xfs -c overlay/default -g auto

My point was that might be the reason why it might be convenient for
the test generic/699 being in generic/ instead of overlay/, since it
means that people who are runing a large number of configs, e.g.:

./kvm-xfstests -c ext4/default,xfs/default,btrfs/default generic/699

can easily test overlayfs with idmapping with different underlying
file systems.  (Note: this is where my automation will write to
local.config while iterating across different file system configs).

Is it worth regularly running generic/699 across multiple underyling
file systmes?  I dunno; I'll let other people chime in on it, since I
don't really use overayfs with idmapping myself, and I haven't
examined the code paths in question myself.

Cheers,

					- Ted

  reply	other threads:[~2025-03-19 23:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-18 20:39 generic/699 fails on ext4 due to using ext4 mount options w/ overlayfs Eric Sandeen
2025-03-18 23:51 ` Theodore Ts'o
2025-03-19  0:58   ` Eric Sandeen
2025-03-19  3:58     ` Theodore Ts'o
2025-03-19 15:36       ` Eric Sandeen
2025-03-19 15:11     ` Zorro Lang
2025-03-19 15:39       ` Zorro Lang
2025-03-19 16:44         ` Theodore Ts'o
2025-03-19 16:54           ` Eric Sandeen
2025-03-19 20:01           ` Zorro Lang
2025-03-19 23:32             ` Theodore Ts'o [this message]
2025-03-20  5:25               ` Zorro Lang
2025-03-20  7:50                 ` Amir Goldstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250319233242.GC1079074@mit.edu \
    --to=tytso@mit.edu \
    --cc=brauner@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=sandeen@sandeen.net \
    --cc=zlang@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.