summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-path-selector.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2015-05-15 15:29:58 +0100
committerMike Snitzer <snitzer@redhat.com>2015-05-29 14:19:07 -0400
commit40775257b97e27305cf5c2425be7acaa6edee4ea (patch)
treed58225e340a166656b916f7542cfbd9c96401222 /drivers/md/dm-path-selector.h
parent651f5fa2a3959ff5db60c09a84efd66309fe4035 (diff)
downloadtalos-obmc-linux-40775257b97e27305cf5c2425be7acaa6edee4ea.tar.gz
talos-obmc-linux-40775257b97e27305cf5c2425be7acaa6edee4ea.zip
dm cache: boost promotion of blocks that will be overwritten
When considering whether to move a block to the cache we already give preferential treatment to discarded blocks, since they are cheap to promote (no read of the origin required since the data is junk). The same is true of blocks that are about to be completely overwritten, so we likewise boost their promotion chances. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-path-selector.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud