summaryrefslogtreecommitdiff
path: root/lib/proportions.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-05-13 15:18:38 (GMT)
committerMike Snitzer <snitzer@redhat.com>2014-08-01 16:30:32 (GMT)
commit8c081b52c6833a30a69ea3bdcef316eccc740c87 (patch)
treea48e9f698921808409304af54aa9c3b6268c0702 /lib/proportions.c
parente5aea7b49f2b1fd01f35ca7abeb76f5c56128a55 (diff)
downloadlinux-8c081b52c6833a30a69ea3bdcef316eccc740c87.tar.xz
dm cache: simplify deferred set reference count increments
Factor out inc_and_issue and inc_ds helpers to simplify deferred set reference count increments. Also cleanup cache_map to consistently call cell_defer and inc_ds when the bio is DM_MAPIO_REMAPPED. No functional change. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions