Add reschedule to metadata hash init
Signed-off-by: Ostrokrzew <slawomir.jankowski@intel.com>
This commit is contained in:
parent
57e6b96791
commit
fc1847cf55
@ -1092,9 +1092,11 @@ static inline void _ocf_init_collision_entry(struct ocf_cache *cache,
|
||||
static void ocf_metadata_hash_init_collision(struct ocf_cache *cache)
|
||||
{
|
||||
unsigned int i;
|
||||
unsigned int step = 0;
|
||||
|
||||
for (i = 0; i < cache->device->collision_table_entries; i++) {
|
||||
_ocf_init_collision_entry(cache, i);
|
||||
OCF_COND_RESCHED_DEFAULT(step);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user