]> git.hungrycats.org Git - linux/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 29 Jul 2014 15:01:46 +0000 (17:01 +0200)
commite0779220de345bf4cd25873367ee61021ffa1d7e
treea19edf1a7d557fedf91830c8f709ef4151e9f3dc
parentc355b2e35e910d4aa740c4009d5cd62b0698c6c2
dm cache metadata: do not allow the data block size to change

commit 048e5a07f282c57815b3901d4a68a77fa131ce0a upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/md/dm-cache-metadata.c