[dm-devel] [LVM PATCH 0/4] New cachepool and cache segment types

Jonathan Brassow jbrassow at redhat.com
Thu Jan 23 15:05:44 UTC 2014


The following patches add the cache and cachepool segment types and
fill-out the device-mapper (userspace) interface.

 brassow

p.s.  I noticed after assembling the patches that the comments leading
the 'dm_get_status_cache' function in the 4th patch are not from the
latest kernel update.  The code is up-to-date.  I'll have to update that
comment before the final check-in.

Jonathan Brassow (4):
  Misc: New function for reading lvm config file, 'dm_config_get_int'
  cache:  New 'cachepool' segment type
  cache:  New 'cache' segment type
  cache:  Add device-mapper interface for retrieving a cache's status

 configure                        |   32 +++++-
 configure.in                     |   22 +++
 lib/Makefile.in                  |   11 ++-
 lib/commands/toolcontext.c       |    9 +-
 lib/metadata/metadata-exported.h |    7 +
 lib/metadata/segtype.h           |   10 ++
 lib/misc/configure.h.in          |    3 +
 libdm/libdevmapper.h             |   62 +++++++++-
 libdm/libdm-config.c             |   14 ++
 libdm/libdm-deptree.c            |  267 +++++++++++++++++++++++++++++++++++++-
 10 files changed, 426 insertions(+), 11 deletions(-)

-- 
1.7.7.6




More information about the dm-devel mailing list