]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2fd6e73b113b8bcb2a8667c15c118748a22ff77
tree5bdc1b75df308bc21321292d33fb956b0a9998cc
parent95fe4603cf0dab3e297a9a433fa49d2466a39902
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