diff options
author | Joe Thornber <[email protected]> | 2016-09-15 09:23:46 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2016-09-22 11:15:02 -0400 |
commit | 4e781b498ee5008ede91362d91404a362e7a46b3 (patch) | |
tree | 039f3914f839b455759253fb0395a639a1912dae /lib/mpi/mpi-bit.c | |
parent | dd6a77d99859ab963503e67372ed278fe8ceab26 (diff) |
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions