Add security fuzzy tests and improve pyocf api
Fuzzy tests added for: changing cache mode attaching cache device with fuzzed cache line size setting cleaning policy setting alru params setting acp params setting seq cut off policy per cache setting seq cut off policy per core
This commit is contained in:
@@ -666,7 +666,7 @@ int ocf_mngt_cache_set_mode(ocf_cache_t cache, ocf_cache_mode_t mode);
|
||||
* use function ocf_mngt_cache_save().
|
||||
*
|
||||
* @param[in] cache Cache handle
|
||||
* @param[in] type Cleainig policy type
|
||||
* @param[in] type Cleaning policy type
|
||||
*
|
||||
* @retval 0 Policy has been set successfully
|
||||
* @retval Non-zero Error occurred and policy has not been set
|
||||
@@ -691,6 +691,7 @@ int ocf_mngt_cache_cleaning_get_policy(ocf_cache_t cache, ocf_cleaning_t *type);
|
||||
* use function ocf_mngt_cache_save().
|
||||
*
|
||||
* @param[in] cache Cache handle
|
||||
* @param[in] type Cleaning policy type
|
||||
* @param[in] param_id Cleaning policy parameter id
|
||||
* @param[in] param_value Cleaning policy parameter value
|
||||
*
|
||||
@@ -704,6 +705,7 @@ int ocf_mngt_cache_cleaning_set_param(ocf_cache_t cache, ocf_cleaning_t type,
|
||||
* @brief Get cleaning parameter from given cache
|
||||
*
|
||||
* @param[in] cache Cache handle
|
||||
* @param[in] type Cleaning policy type
|
||||
* @param[in] param_id Cleaning policy parameter id
|
||||
* @param[in] param_value Variable to store parameter value
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user