lsm_system_read_cache_pct_update - Man Page

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

conn

Valid connection.

system

The pointer of lsm_system.

read_pct

uint32_t. Desired read cache percentage. O for disable read cache.

flags

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.

Info

April 2023 Libstoragemgmt C API Manual