commit | 8c081b52c6833a30a69ea3bdcef316eccc740c87 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Tue May 13 16:18:38 2014 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Aug 01 12:30:32 2014 -0400 |
tree | a48e9f698921808409304af54aa9c3b6268c0702 | |
parent | e5aea7b49f2b1fd01f35ca7abeb76f5c56128a55 [diff] |
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>