Avoid double initialization of cleaning policy in standby mode
Cleaning policy is initialized on standby activate, after all the metadata from primary cache is flushed and the actual recovery is being performed. Thus initializing it earlier on standby attach is incorrect. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
65918344c0
commit
c677f65212
@ -2267,7 +2267,6 @@ struct ocf_pipeline_properties _ocf_mngt_cache_standby_attach_pipeline_propertie
|
|||||||
OCF_PL_STEP(_ocf_mngt_init_cleaner),
|
OCF_PL_STEP(_ocf_mngt_init_cleaner),
|
||||||
OCF_PL_STEP(_ocf_mngt_standby_init_structures_attach),
|
OCF_PL_STEP(_ocf_mngt_standby_init_structures_attach),
|
||||||
OCF_PL_STEP(_ocf_mngt_attach_populate_free),
|
OCF_PL_STEP(_ocf_mngt_attach_populate_free),
|
||||||
OCF_PL_STEP(_ocf_mngt_load_init_cleaning),
|
|
||||||
OCF_PL_STEP(_ocf_mngt_standby_preapre_mempool),
|
OCF_PL_STEP(_ocf_mngt_standby_preapre_mempool),
|
||||||
OCF_PL_STEP(_ocf_mngt_standby_init_pio_concurrency),
|
OCF_PL_STEP(_ocf_mngt_standby_init_pio_concurrency),
|
||||||
OCF_PL_STEP(_ocf_mngt_zero_superblock),
|
OCF_PL_STEP(_ocf_mngt_zero_superblock),
|
||||||
|
Loading…
Reference in New Issue
Block a user