table of contents
lsm_volume_read_cache_policy_update(3) | Libstoragemgmt C API Manual | lsm_volume_read_cache_policy_update(3) |
NAME¶
lsm_volume_read_cache_policy_update - Change RAM read cache policy of the specified volume
SYNOPSIS¶
int lsm_volume_read_cache_policy_update (lsm_connect *conn, lsm_volume *volume, uint32_t rcp, lsm_flag flags);
ARGUMENTS¶
VERSION¶
1.3
DESCRIPTION¶
Change the RAM read cache policy of the specified volume. If LSM_CAP_VOLUME_READ_CACHE_POLICY_UPDATE_IMPACT_WRITE is supported(like HPE SmartArray), the changes on write cache policy might also impact read cache policy.
CAPABILITY¶
LSM_CAP_VOLUME_READ_CACHE_POLICY_UPDATE LSM_CAP_VOLUME_READ_CACHE_POLICY_UPDATE_IMPACT_WRITE
RETURN¶
LSM_ERR_OK on success else error reason
* LSM_ERR_OK
On success.
* LSM_ERR_NOT_FOUND_VOLUME
When volume not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or invalid flags.
* LSM_ERR_NO_SUPPORT
Not supported.
lsm_volume_read_cache_policy_update | January 2023 |