FS/XFS testing framework
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: zlang@kernel.org, fstests@vger.kernel.org
Subject: Re: [PATCH] common: skip tests using LVM when the device is no known
Date: Tue, 28 Jan 2025 21:40:00 -0800	[thread overview]
Message-ID: <20250129054000.GW3557695@frogsfrogsfrogs> (raw)
In-Reply-To: <20250129052443.GA28621@lst.de>

On Wed, Jan 29, 2025 at 06:24:43AM +0100, Christoph Hellwig wrote:
> On Tue, Jan 28, 2025 at 11:31:22AM -0800, Darrick J. Wong wrote:
> > Should this get turned into a common helper?
> 
> > I guess the downside is that pvcreate on my system (Debian 12) will trip
> > over any existing disk label and ask if you want to wipe it.  If you say
> > no then it returns nonzero, and if you say yes then it goes into an
> > infinite loop.
> > 
> > You can of course $WIPEFS_PROG -a $bdev but ugghh.
> 
> Honestly, for now I just want to avoid the tests failing due to lvm
> stupidity.  If someone has the time to do something more elaborate
> (I don't right now), the proper thing is to stop using lvm and replace
> it with something less stupid.  That might be direct use of dm,
> or simulating failures with null_blk or scsi_debug.

Eh, I'm not that into a weird wipefs and pvcreate --test.  If someone
feels so motivated to test that on a bunch of distros they can do that
refactoring.  I already have too many patches stuck in djwong-dev.

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

      reply	other threads:[~2025-01-29  5:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-28  7:16 [PATCH] common: skip tests using LVM when the device is no known Christoph Hellwig
2025-01-28 19:31 ` Darrick J. Wong
2025-01-29  5:24   ` Christoph Hellwig
2025-01-29  5:40     ` Darrick J. Wong [this message]

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=20250129054000.GW3557695@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=hch@lst.de \
    --cc=zlang@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox