From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 0/7] ShareVG
Date: Tue, 19 Jul 2011 15:43:51 +0200 [thread overview]
Message-ID: <cover.1311082436.git.zkabelac@redhat.com> (raw)
Another incarnation of sharing VG structures.
This version changes free_vg() to release_vg() to avoid term confusion
(free should be free).
Reference counting moved to VG structure - though I'm not 100% conviced
it's the best choice here - as every counter is touching pool - this makes
a bit more problematic following memory pool locking (keeping the
reference within vginfo referenced from VG would make it simplier).
Some name corrections happend with the pool locking debug.
Option verify_vg_crc was added to make crc runtime configurable for debug.
As a bit unrelated patch is the first one where INCONSISTENG_VG.
(It's part of this patchset as it's made this patchset simplier
there is no need for dropping VG from cache now)
This patchset also needs inspection as there is small change in code
behaviour which might be seen as a bugfix?
Zdenek Kabelac (7):
Remove INCONSISTENG_VG flag
Change free_vg to release_vg
Add cache_vg
Pool locking code
Lock memory for shared VG
Add verify_vg_crc
Spaces
WHATS_NEW | 2 +
daemons/clvmd/lvm-functions.c | 2 +-
doc/example.conf.in | 5 ++
lib/activate/activate.c | 14 ++--
lib/cache/lvmcache.c | 29 ++++++++-
lib/cache/lvmcache.h | 2 +
lib/commands/toolcontext.c | 2 +
lib/format_pool/format_pool.c | 2 +-
lib/format_text/archive.c | 2 +-
lib/format_text/archiver.c | 6 +-
lib/format_text/format-text.c | 4 +-
lib/format_text/import_vsn1.c | 2 +-
lib/locking/locking.h | 4 +-
lib/metadata/metadata-exported.h | 6 --
lib/metadata/metadata.c | 115 +++++++++++++++++++-------------------
lib/metadata/metadata.h | 1 -
lib/metadata/replicator_manip.c | 6 +-
lib/metadata/vg.c | 62 ++++++++++++++++++++
lib/metadata/vg.h | 12 ++++
lib/misc/lvm-globals.c | 11 ++++
lib/misc/lvm-globals.h | 2 +
libdm/libdevmapper.h | 9 +++
libdm/mm/pool-debug.c | 30 ++++++++++
libdm/mm/pool-fast.c | 66 +++++++++++++++++++++-
libdm/mm/pool.c | 106 ++++++++++++++++++++++++++++++++++-
liblvm/lvm_vg.c | 8 +-
make.tmpl.in | 2 +
test/lib/aux.sh | 1 +
tools/lvconvert.c | 10 ++--
tools/lvcreate.c | 4 +-
tools/lvrename.c | 4 +-
tools/lvresize.c | 4 +-
tools/polldaemon.c | 10 ++--
tools/pvchange.c | 8 +-
tools/pvcreate.c | 2 +-
tools/pvdisplay.c | 4 +-
tools/pvmove.c | 4 +-
tools/pvresize.c | 4 +-
tools/reporter.c | 4 +-
tools/toollib.c | 10 ++--
tools/vgcreate.c | 6 +-
tools/vgextend.c | 6 +-
tools/vgmerge.c | 12 ++--
tools/vgreduce.c | 6 +-
tools/vgrename.c | 10 ++--
tools/vgsplit.c | 18 +++---
46 files changed, 480 insertions(+), 159 deletions(-)
--
1.7.6
next reply other threads:[~2011-07-19 13:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 13:43 Zdenek Kabelac [this message]
2011-07-19 13:43 ` [PATCH 1/7] Remove INCONSISTENG_VG flag Zdenek Kabelac
2011-07-19 13:43 ` [PATCH 2/7] Change free_vg to release_vg Zdenek Kabelac
2011-07-19 13:43 ` [PATCH 3/7] Add cache_vg Zdenek Kabelac
2011-07-19 13:43 ` [PATCH 4/7] Pool locking code Zdenek Kabelac
2011-07-19 13:43 ` [PATCH 5/7] Lock memory for shared VG Zdenek Kabelac
2011-07-19 13:43 ` [PATCH 6/7] Add verify_vg_crc Zdenek Kabelac
2011-07-19 13:43 ` [PATCH 7/7] Spaces Zdenek Kabelac
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=cover.1311082436.git.zkabelac@redhat.com \
--to=zkabelac@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.