All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - Revert "tests: add check for lvconvert without zeroing"
Date: Wed, 14 Apr 2021 09:07:36 +0000 (GMT)	[thread overview]
Message-ID: <20210414090736.67D3C3987C24@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=94c264b9754c92a6d48ca7911a9db246490e64b8
Commit:        94c264b9754c92a6d48ca7911a9db246490e64b8
Parent:        9a33388c1ac69cd23d28e3d53c59130726670c98
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Wed Apr 14 10:53:21 2021 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Wed Apr 14 10:53:34 2021 +0200

Revert "tests: add check for lvconvert without zeroing"

This reverts commit accf324ccba681ad06cd8bcb27ead17ec191a471.
---
 test/shell/thin-foreign-repair.sh | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/test/shell/thin-foreign-repair.sh b/test/shell/thin-foreign-repair.sh
index 7cfa865f0..55e9f62c6 100644
--- a/test/shell/thin-foreign-repair.sh
+++ b/test/shell/thin-foreign-repair.sh
@@ -77,22 +77,4 @@ dmsetup create "$THIN" --table "0 40960 thin $DM_DEV_DIR/mapper/$POOL 0"
 
 fsck -n "$DM_DEV_DIR/mapper/$THIN"
 
-clean_thin_
-
-lvchange -an $vg
-
-# Take a copy of metadata
-lvchange -y -ay $vg/pool_tmeta
-
-lvcreate -L2 -n $lv1 $vg
-dd if="$DM_DEV_DIR/$vg/pool_tmeta" of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=1
-
-# Use zero backend for data device
-lvcreate --type zero -L2 -n $lv2 $vg
-
-lvconvert --thinpool $vg/$lv2 --poolmetadata $vg/$lv1 -Zn -y
-
-# Metadata should NOT be zeroed and device should be available
-dmsetup create "$THIN" --table "0 40960 thin $DM_DEV_DIR/$vg/$lv2 0"
-
 # exit calls cleanup_mounted_and_teardown



                 reply	other threads:[~2021-04-14  9:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210414090736.67D3C3987C24@sourceware.org \
    --to=zkabelac@sourceware.org \
    --cc=lvm-devel@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.