dm cache: emit a warning message if there are a lot of cache blocks
authorJoe Thornber <ejt@redhat.com>
Tue, 11 Nov 2014 11:58:32 +0000 (11:58 +0000)
committerMike Snitzer <snitzer@redhat.com>
Thu, 13 Nov 2014 01:14:59 +0000 (20:14 -0500)
commitd1d9220cbaeecce910f3ecfeb71cc897a678eb68
tree5bdc1b75df308bc21321292d33fb956b0a9998cc
parent7ae34e7778966d39f66397491eb114b613202c20
dm cache: emit a warning message if there are a lot of cache blocks

Loading and saving millions of block mappings takes time.  We may as
well explain what's going on, and encourage people to use a larger
cache block size.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c