From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: [QEUSTION] VG refresh: remove disk and reinsert disk, VG not refresh
Date: Mon, 16 Nov 2020 10:41:03 -0600 [thread overview]
Message-ID: <20201116164102.GA10385@redhat.com> (raw)
In-Reply-To: <7b0ca534-c927-7e15-a6ce-52edc5a1805d@huawei.com>
On Mon, Nov 16, 2020 at 11:15:50AM +0800, Wu Guanghao wrote:
> So I want to know how to add vg refresh function in the 2.02.187 and
> later to keep it the same as 2.02.181, and why delete vg refresh
> function?
Sorry, I don't think I quite knew what a proper use of that looked like
when removing it. All the cases I saw were unnecessary or were causing
problems. The motivation was numerous problems reported about failed
activation during boot, some involving unwanted refreshes. A better fix
might have found a way to preserve it in the stable branch.
If you're compiling your own lvm it would be simple to restore, enable the
if 0 section in pvscan.c.
More generally, refresh didn't fit correctly where it was implemented. It
depended on lvmetad (now removed), and was not really related to
autoactivation. If an automatic refresh feature is warranted, it should
be designed and implemented to stand on its own.
Dave
next prev parent reply other threads:[~2020-11-16 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 3:15 [QEUSTION] VG refresh: remove disk and reinsert disk, VG not refresh Wu Guanghao
2020-11-16 16:41 ` David Teigland [this message]
2020-11-17 11:20 ` [QUESTION] " Wu Guanghao
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=20201116164102.GA10385@redhat.com \
--to=teigland@redhat.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 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.