lvm-devel.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Zdeněk Kabeláč (@zdenek.kabelac) <gitlab@mg.gitlab.com>
To: lvm-devel@redhat.com
Subject: [Git][lvmteam/lvm2][main] 2 commits: vdo: typo fix
Date: Thu, 14 Sep 2023 08:10:11 +0000	[thread overview]
Message-ID: <6502bfe3b51c4_28a4768558fc@gitlab-sidekiq-low-urgency-cpu-bound-v2-f6bdb45d-ttvfj.mail> (raw)



Zden?k Kabel?? pushed to branch main at LVM team / lvm2


Commits:
f5781144 by Zdenek Kabelac at 2023-09-14T10:01:43+02:00
vdo: typo fix

Argh - lastmin mods...

- - - - -
970e4d29 by Zdenek Kabelac at 2023-09-14T10:08:26+02:00
tests: add fsck after split

- - - - -


2 changed files:

- scripts/lvm_import_vdo.sh
- test/shell/caching-snapshot.sh


Changes:

=====================================
scripts/lvm_import_vdo.sh
=====================================
@@ -533,7 +533,7 @@ convert_non_lv_() {
 	# For systems using devicesfile add 'merged' PV into system.devices.
 	# Bypassing use of --valuesonly to keep compatibility with older lvm.
 	local usedev=$("$LVM" lvmconfig --typeconfig full devices/use_devicesfile || true)
-	[ "${usedev#*=" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE"
+	[ "${usedev#*=}" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE"
 
 	# Restore auto activation for a VG
 	dry "$LVM" vgchange --setautoactivation y $VERB $FORCE "$VGNAME"


=====================================
test/shell/caching-snapshot.sh
=====================================
@@ -94,6 +94,7 @@ test_snap_remove() {
 	lvcreate -s -L 32 -n snap $vg/$lv1
 	cp pattern1 "$mount_dir/pattern1b"
 	lvconvert --splitcache $vg/$lv1
+	fsck -n "$DM_DEV_DIR/$vg/snap"
 	mount "$DM_DEV_DIR/$vg/snap" "$mount_dir_snap"
 	not ls "$mount_dir_snap/pattern1b"
 	rm "$mount_dir/pattern1a"



View it on GitLab: https://gitlab.com/lvmteam/lvm2/-/compare/9d7061f1a3b5795a4beccd0e285a5b9d32980a52...970e4d295eddb47d4540bb0762e35bd17b07841f

-- 
View it on GitLab: https://gitlab.com/lvmteam/lvm2/-/compare/9d7061f1a3b5795a4beccd0e285a5b9d32980a52...970e4d295eddb47d4540bb0762e35bd17b07841f
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20230914/1a667903/attachment.htm>

                 reply	other threads:[~2023-09-14  8:10 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=6502bfe3b51c4_28a4768558fc@gitlab-sidekiq-low-urgency-cpu-bound-v2-f6bdb45d-ttvfj.mail \
    --to=gitlab@mg.gitlab.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).