From: Takahiro Yasui <tyasui@redhat.com>
To: lvm-devel@redhat.com
Subject: [RFC PATCH 1/7] remove device scan from _text_create_text_instance
Date: Thu, 02 Apr 2009 13:19:15 -0400 [thread overview]
Message-ID: <49D4F393.2020902@redhat.com> (raw)
In-Reply-To: <49D3D9F5.902@redhat.com>
Usually the _text_create_text_instance function is called after device
scan is done, and as far as I understand, lvmcache_label_scan in the
_text_create_text_instance is not necessarily needed.
Signed-off-by: Takahiro Yasui <tyasui@redhat.com>
---
lib/format_text/format-text.c | 2 --
1 file changed, 2 deletions(-)
Index: LVM2.02.46-cvs-20090324/lib/format_text/format-text.c
===================================================================
--- LVM2.02.46-cvs-20090324.orig/lib/format_text/format-text.c
+++ LVM2.02.46-cvs-20090324/lib/format_text/format-text.c
@@ -1792,8 +1792,6 @@ static struct format_instance *_text_cre
dm_list_add(&fid->metadata_areas, &mda->list);
}
- /* Scan PVs in VG for any further MDAs */
- lvmcache_label_scan(fmt->cmd, 0);
if (!(vginfo = vginfo_from_vgname(vgname, vgid)))
goto_out;
dm_list_iterate_items(info, &vginfo->infos) {
next parent reply other threads:[~2009-04-02 17:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <49D3D9F5.902@redhat.com>
2009-04-02 17:19 ` Takahiro Yasui [this message]
2009-04-02 17:19 ` [RFC PATCH 2/7] rename _has_scanned to _need_scan Takahiro Yasui
2009-04-02 17:19 ` [RFC PATCH 3/7] separate metadata parse and verification Takahiro Yasui
2009-04-02 17:19 ` [RFC PATCH 4/7] support metadata cache feature Takahiro Yasui
2009-04-02 17:19 ` [RFC PATCH 5/7] add metadata cache interface Takahiro Yasui
2009-04-02 17:19 ` [RFC PATCH 6/7] individual lvm command settings Takahiro Yasui
2009-04-02 17:19 ` [RFC PATCH 7/7] introduce metadata cache feature Takahiro Yasui
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=49D4F393.2020902@redhat.com \
--to=tyasui@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.