1lsm_volume_read_cache_policLyi_busptdoartaeg(e3m)gmtlCsmA_PvIolMuamneu_arlead_cache_policy_update(3)
2
3
4

NAME

6       lsm_volume_read_cache_policy_update  -  Change RAM read cache policy of
7       the specified volume
8

SYNOPSIS

10       int lsm_volume_read_cache_policy_update (lsm_connect *conn,  lsm_volume
11       *volume, uint32_t rcp, lsm_flag flags);
12

ARGUMENTS

14       conn        Valid lsm_connect pointer.
15
16       volume      Pointer of lsm_string.
17
18       rcp         uint32_t.  Read  cache policy. Valid values are: * LSM_VOL‐
19                   UME_READ_CACHE_POLICY_ENABLED
20                      Enable read cache.  *  LSM_VOLUME_READ_CACHE_POLICY_DIS‐
21                   ABLED
22                      Disable read cache.
23
24       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
25

VERSION

27       1.3
28

DESCRIPTION

30       Change  the  RAM  read  cache  policy  of  the  specified  volume.   If
31       LSM_CAP_VOLUME_READ_CACHE_POLICY_UPDATE_IMPACT_WRITE is  supported(like
32       HPE  SmartArray),  the  changes on write cache policy might also impact
33       read cache policy.
34

CAPABILITY

36       LSM_CAP_VOLUME_READ_CACHE_POLICY_UPDATE  LSM_CAP_VOLUME_READ_CACHE_POL‐
37       ICY_UPDATE_IMPACT_WRITE
38

RETURN

40       LSM_ERR_OK on success else error reason
41           * LSM_ERR_OK
42               On success.
43           * LSM_ERR_NOT_FOUND_VOLUME
44               When volume not found.
45           * LSM_ERR_INVALID_ARGUMENT
46               When any argument is NULL or invalid flags.
47           * LSM_ERR_NO_SUPPORT
48               Not supported.
49
50
51
52February 2019         lsm_volume_read_caclhsem__pvoolliucmye__urpedaadt_ecache_policy_update(3)
Impressum