summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2016-09-15 15:23:46 +0200
committerMike Snitzer <snitzer@redhat.com>2016-09-22 17:15:02 +0200
commit4e781b498ee5008ede91362d91404a362e7a46b3 (patch)
tree039f3914f839b455759253fb0395a639a1912dae /drivers/md/dm.h
parentdm array: add dm_array_new() (diff)
downloadlinux-4e781b498ee5008ede91362d91404a362e7a46b3.tar.xz
linux-4e781b498ee5008ede91362d91404a362e7a46b3.zip
dm cache: speed up writing of the hint array
It's far quicker to always delete the hint array and recreate with dm_array_new() because we avoid the copying caused by mutation. Also simplifies the policy interface, replacing the walk_hints() with the simpler get_hint(). Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions