Skip to content

Next set of LVM cache patches

Jonathan Brassow lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pool: Make another thin pool fn generic for cache usage alsoconf/example.conf.in lib/config/config_settings.h lib/metadata/lv_manip.c+50 -160 replies
2/6cache: Add functions that create/remove cache LVslib/Makefile.in lib/metadata/cache_manip.c lib/metadata/metadata-exported.h+227 -20 replies
3/6cache: Code changes to allow creation of cache poolslib/config/defaults.h lib/format_text/flags.c lib/metadata/lv_manip.c +6 more+182 -440 replies
4/6cache: Code changes to allow removal of cachepool LVslib/metadata/lv_manip.c+19 -80 replies
5/6cache: Code to allow the creation of cache LVslib/activate/dev_manager.c lib/metadata/lv_manip.c lib/metadata/merge.c +2 more+231 -90 replies
6/6cache: Code that allows removal of cache LVslib/metadata/lv_manip.c+30 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LVM PATCH 0/6] Next set of LVM cache patches

These patches add the ability to create and remove cache pools and cache LVs. Yet to be addressed is reporting code (i.e. 'lvs'), man page updates, arguments for cache pool tunables (i.e. changing policies, cache mode, etc), profiles, and converting.

I'd still like to work on patch 5 a bit yet, but comments are welcome on these patches while I do that.

Jonathan Brassow (6):
pool: Make another thin pool fn generic for cache usage also
cache: Add functions that create/remove cache LVs
cache: Code changes to allow creation of cache pools
cache: Code changes to allow removal of cachepool LVs
cache: Code to allow the creation of cache LVs
cache: Code that allows removal of cache LVs

 conf/example.conf.in             |   11 ++
 lib/Makefile.in                  |    1 +
 lib/activate/dev_manager.c       |   11 ++-
 lib/config/config_settings.h     |    3 +
 lib/config/defaults.h            |    3 +-
 lib/format_text/flags.c          |    4 +
 lib/metadata/cache_manip.c       |  219 +++++++++++++++++++++++++++++
 lib/metadata/lv_manip.c          |  284 +++++++++++++++++++++++++++++++------
 lib/metadata/merge.c             |   60 +++++++--
 lib/metadata/metadata-exported.h |   12 ++-
 libdm/libdevmapper.h             |    5 +
 tools/args.h                     |    1 +
 tools/commands.h                 |    7 +-
 tools/lvcreate.c                 |  196 ++++++++++++++++++++++++--
 14 files changed, 738 insertions(+), 79 deletions(-)
 create mode 100644 lib/metadata/cache_manip.c
Signature · 1 line
1.7.7.6