Skip to content

dm cache: simple cache block invalidation interface

Mike Snitzer dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dm cache: cache shrinking supportdrivers/md/dm-cache-metadata.c drivers/md/dm-cache-target.c+120 -911 replies
2/6dm cache: add passthrough modeDocumentation/device-mapper/cache.txt drivers/md/dm-cache-metadata.c drivers/md/dm-cache-metadata.h +1 more+200 -381 reply
3/6dm cache metadata: check the metadata version when reading the superblockdrivers/md/dm-cache-metadata.c+21 -30 replies
4/6dm cache policy mq: reduce memory requirementsdrivers/md/dm-cache-policy-mq.c+231 -3120 replies
5/6dm cache: add remove_cblock method to policy interfacedrivers/md/dm-cache-policy-internal.h drivers/md/dm-cache-policy-mq.c drivers/md/dm-cache-policy.h+57 -41 reply
6/6dm cache: add cache block invalidation supportDocumentation/device-mapper/cache.txt drivers/md/dm-cache-target.c+233 -43 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH for-3.13 0/6] dm cache: simple cache block invalidation interface

This patches reflect dm-cache changes that have been staged in linux-next for the v3.13 merge. I'm posting these to give a heads up that we've chosen to resort to "plan-b" on the approach taken for supporting cache block invalidation (while simpler in approach, eliminates use of the shim/stack policy interface and the era shim stacked ontop of the mq policy, it will require near-term follow-on work to have a separate "era" target that sits between the SSD and cache target -- this work will land in v3.14).

Joe will elaborate on the overall direction and approach associated with "plan-b" shortly. For now, the first step is a more minimalist implementation for cache block invalidation for v3.13.

All patches for v3.13 can be found in the 'for-next' branch of the linux-dm.git repo, see:
http://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/log/?h=for-next

Joe Thornber (6):
dm cache: cache shrinking support
dm cache: add passthrough mode
dm cache metadata: check the metadata version when reading the superblock dm cache policy mq: reduce memory requirements
dm cache: add remove_cblock method to policy interface
dm cache: add cache block invalidation support

 Documentation/device-mapper/cache.txt |   31 ++-
 drivers/md/dm-cache-metadata.c        |   95 ++++++-
 drivers/md/dm-cache-metadata.h        |    5 +
 drivers/md/dm-cache-policy-internal.h |    5 +
 drivers/md/dm-cache-policy-mq.c       |  572 +++++++++++++++------------------
 drivers/md/dm-cache-policy.h          |   21 +-
 drivers/md/dm-cache-target.c          |  497 ++++++++++++++++++++++++++---
 7 files changed, 859 insertions(+), 367 deletions(-)
Signature · 1 line
1.7.4.4