On Thu, Oct 24, 2013 at 02:30:22PM -0400, Mike Snitzer wrote: > From: Joe Thornber <ejt@xxxxxxxxxx> > +++ b/drivers/md/dm-cache-metadata.c > @@ -20,7 +20,13 @@ > + * defines a range of metadata versions that this module can handle. > +{ > + uint32_t metadata_version = le32_to_cpu(disk_super->version); + > + if (metadata_version < MIN_CACHE_VERSION || metadata_version > MAX_CACHE_VERSION) { > + DMERR("kernel does not support this version of cache metadata (%u)", > + metadata_version); - Also state the range supported? "Cache metadata version %u found, but only versions between %u and %u supported." Alasdair -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel