]> git.baikalelectronics.ru Git - kernel.git/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)
committerMike Snitzer <snitzer@redhat.com>
Tue, 15 Jul 2014 18:07:50 +0000 (14:07 -0400)
commitb354191d4ed6228b43d13484be0f0bb74d5c6123
treec32542716d252176a5e1ea43670d199060df8d16
parent1a91d5f4af55270c2b6e72e1115e42f7bf6bf0e7
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