All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marian Csontos <mcsontos@sourceware.org>
To: lvm-devel@redhat.com
Subject: master - test: Can not attach writecache to active volume
Date: Wed, 18 Mar 2020 13:36:21 +0000 (GMT)	[thread overview]
Message-ID: <20200318133621.9F05B393FC2D@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fc32787c1b7f867008f30444a20ba154e0cdc39c
Commit:        fc32787c1b7f867008f30444a20ba154e0cdc39c
Parent:        957904933b2b0f94eddc6204ca2fa61e2df741a0
Author:        Marian Csontos <mcsontos@redhat.com>
AuthorDate:    Wed Mar 18 14:30:09 2020 +0100
Committer:     Marian Csontos <mcsontos@redhat.com>
CommitterDate: Wed Mar 18 14:35:58 2020 +0100

test: Can not attach writecache to active volume

---
 test/shell/writecache.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/shell/writecache.sh b/test/shell/writecache.sh
index 0a7f694bb..a7a2d9564 100644
--- a/test/shell/writecache.sh
+++ b/test/shell/writecache.sh
@@ -139,8 +139,10 @@ mount "$DM_DEV_DIR/$vg/$lv1" $mount_dir
 cp pattern1 $mount_dir/pattern1
 ls -l $mount_dir
 
-lvconvert --yes --type writecache --cachevol $lv2 $vg/$lv1
+# TODO BZ 1808012 - can not convert active volume to writecache:
+not lvconvert --yes --type writecache --cachevol $lv2 $vg/$lv1
 
+if false; then
 check lv_field $vg/$lv1 segtype writecache
 
 lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
@@ -162,6 +164,7 @@ diff pattern1 $mount_dir/pattern1.after
 umount $mount_dir
 lvchange -an $vg/$lv1
 lvremove $vg/$lv1
+fi
 
 vgremove -ff $vg
 




                 reply	other threads:[~2020-03-18 13:36 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=20200318133621.9F05B393FC2D@sourceware.org \
    --to=mcsontos@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.