Scroll to navigation

lsm_system_read_cache_pct_update(3) Libstoragemgmt C API Manual lsm_system_read_cache_pct_update(3)

NAME

lsm_system_read_cache_pct_update - Changes the read cache percentage for the specified system.

SYNOPSIS

int lsm_system_read_cache_pct_update (lsm_connect *conn, lsm_system *system, uint32_t read_pct, lsm_flag flags);

ARGUMENTS

Valid connection.
The pointer of lsm_system.
uint32_t. Desired read cache percentage. O for disable read cache.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.3

DESCRIPTION

Only available for hardware RAID cards. Change the read cache percentage for the specified system.

CAPABILITY

LSM_CAP_SYS_READ_CACHE_PCT_UPDATE

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags.
* LSM_ERR_NOT_FOUND_SYSTEM
When system not found.
* LSM_ERR_NO_SUPPORT
Not supported.

lsm_system_read_cache_pct_update April 2023