Remove all the trailing whitespaces
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
bdcd4df0ef
commit
f9447fda75
@ -1457,7 +1457,7 @@ static void ocf_medatata_hash_flush_segment(ocf_pipeline_t pipeline,
|
||||
ocf_cache_t cache = context->cache;
|
||||
|
||||
ctrl = (struct ocf_metadata_hash_ctrl *)cache->metadata.iface_priv;
|
||||
|
||||
|
||||
ocf_metadata_raw_flush_all(cache, &ctrl->raw_desc[segment],
|
||||
ocf_metadata_hash_generic_complete, context);
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ struct ocf_io *ocf_io_new(ocf_volume_t volume)
|
||||
|
||||
io->volume = volume;
|
||||
io->ops = &volume->type->properties->io_ops;
|
||||
env_atomic_set(&io_meta->ref_count, 1);
|
||||
env_atomic_set(&io_meta->ref_count, 1);
|
||||
|
||||
return io;
|
||||
}
|
||||
|
@ -247,7 +247,7 @@ void ocf_volume_submit_flush(struct ocf_io *io)
|
||||
io->end(io, -EIO);
|
||||
|
||||
if (!io->volume->type->properties->ops.submit_flush) {
|
||||
ocf_io_end(io, 0);
|
||||
ocf_io_end(io, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -260,7 +260,7 @@ void ocf_volume_submit_discard(struct ocf_io *io)
|
||||
io->end(io, -EIO);
|
||||
|
||||
if (!io->volume->type->properties->ops.submit_discard) {
|
||||
ocf_io_end(io, 0);
|
||||
ocf_io_end(io, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ void set_cache_line_clean(struct ocf_cache *cache, uint8_t start_bit,
|
||||
evict_policy_ops[evp_type].clean_cline(cache, part_id, line);
|
||||
|
||||
ocf_purge_cleaning_policy(cache, line);
|
||||
ocf_metadata_flush_mark(cache, req, map_idx, CLEAN, start_bit,
|
||||
ocf_metadata_flush_mark(cache, req, map_idx, CLEAN, start_bit,
|
||||
end_bit);
|
||||
}
|
||||
}
|
||||
@ -169,8 +169,8 @@ void set_cache_line_dirty(struct ocf_cache *cache, uint8_t start_bit,
|
||||
|
||||
if (likely(evict_policy_ops[evp_type].dirty_cline))
|
||||
evict_policy_ops[evp_type].dirty_cline(cache, part_id, line);
|
||||
|
||||
ocf_metadata_flush_mark(cache, req, map_idx, DIRTY, start_bit,
|
||||
|
||||
ocf_metadata_flush_mark(cache, req, map_idx, DIRTY, start_bit,
|
||||
end_bit);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user