|
@@ -2488,6 +2488,7 @@ static int cache_map(struct dm_target *ti, struct bio *bio)
|
|
|
|
|
|
} else {
|
|
} else {
|
|
inc_hit_counter(cache, bio);
|
|
inc_hit_counter(cache, bio);
|
|
|
|
+ pb->all_io_entry = dm_deferred_entry_inc(cache->all_io_ds);
|
|
|
|
|
|
if (bio_data_dir(bio) == WRITE && writethrough_mode(&cache->features) &&
|
|
if (bio_data_dir(bio) == WRITE && writethrough_mode(&cache->features) &&
|
|
!is_dirty(cache, lookup_result.cblock))
|
|
!is_dirty(cache, lookup_result.cblock))
|