diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-07-14 21:37:18 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-08-01 18:30:33 +0200 |
commit | 895b47d7989af3aacea16380b190b1bb8f046362 (patch) | |
tree | ff1fa6f0a86063b69d09a76acc6d996face2acdc /drivers/md/dm.h | |
parent | dm cache: fail migrations in the do_worker error path (diff) | |
download | linux-895b47d7989af3aacea16380b190b1bb8f046362.tar.xz linux-895b47d7989af3aacea16380b190b1bb8f046362.zip |
dm cache metadata: use dm-space-map-metadata.h defined size limits
Commit 7d48935e cleaned up the persistent-data's space-map-metadata
limits by elevating them to dm-space-map-metadata.h. Update
dm-cache-metadata to use these same limits.
The calculation for DM_CACHE_METADATA_MAX_SECTORS didn't account for the
sizeof the disk_bitmap_header. So the supported maximum metadata size
is a bit smaller (reduced from 33423360 to 33292800 sectors).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions