dm cache metadata: do not allow the data block size to change
authorMike Snitzer <snitzer@redhat.com>
Mon, 14 Jul 2014 20:59:39 +0000 (16:59 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 15 Jul 2014 18:07:50 +0000 (14:07 -0400)
commit048e5a07f282c57815b3901d4a68a77fa131ce0a
treec32542716d252176a5e1ea43670d199060df8d16
parent9aec8629ec829fc9403788cd959e05dd87988bd1
dm cache metadata: do not allow the data block size to change

The block size for the dm-cache's data device must remained fixed for
the life of the cache.  Disallow any attempt to change the cache's data
block size.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Cc: stable@vger.kernel.org
drivers/md/dm-cache-metadata.c