diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index b6703c796..d4469970c 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.126 - ================================ + Report passthrough caching mode when parsing cache mode. Version 1.02.125 - 14th May 2016 ================================ diff --git a/libdm/libdm-targets.c b/libdm/libdm-targets.c index b91c7e9af..c94e05753 100644 --- a/libdm/libdm-targets.c +++ b/libdm/libdm-targets.c @@ -256,6 +256,8 @@ int dm_get_status_cache(struct dm_pool *mem, const char *params, s->feature_flags |= DM_CACHE_FEATURE_WRITETHROUGH; else if (!strncmp(p, "writeback ", 10)) s->feature_flags |= DM_CACHE_FEATURE_WRITEBACK; + else if (!strncmp(p, "passthrough ", 11)) + s->feature_flags |= DM_CACHE_FEATURE_PASSTHROUGH; else log_error("Unknown feature in status: %s", params);