dm cache metadata: do not allow the data block size to change
authorMike Snitzer <[email protected]>
Mon, 14 Jul 2014 20:59:39 +0000 (16:59 -0400)
committerMike Snitzer <[email protected]>
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 <[email protected]>
Acked-by: Joe Thornber <[email protected]>
Cc: [email protected]
drivers/md/dm-cache-metadata.c