lsm_volume_physical_disk_cache_update - Man Page
Change RAM physical disk cache setting of specified volume.
Synopsis
int lsm_volume_physical_disk_cache_update (lsm_connect *conn, lsm_volume *volume, uint32_t pdc, lsm_flag flags);
Arguments
- conn
Valid lsm_connect pointer.
- volume
Pointer of lsm_volume.
- pdc
uint32_t. Physical disk cache setting, valid values are: * LSM_VOLUME_PHYSICAL_DISK_CACHE_ENABLED
Enable physical disk cache. * LSM_VOLUME_PHYSICAL_DISK_CACHE_DISABLED
Disable physical disk cache- flags
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Version
1.3
Description
Change the setting of RAM physical disk cache of specified volume. On some product(like HPE SmartArray), this action will be effective at system level which means that even you are requesting a change on a specified volume, this change will apply to all other volumes on the same controller(system).
Capability
LSM_CAP_VOLUME_PHYSICAL_DISK_CACHE_UPDATE LSM_CAP_VOLUME_PHYSICAL_DISK_CACHE_UPDATE_SYSTEM_LEVEL
Return
Error code as enumerated by 'lsm_error_number'.
* 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.