1lsm_volume_write_cache_poliLciyb_sutpodraatgee(m3g)mtlsCm_AvPoIluMmaen_uwarlite_cache_policy_update(3)
2
3
4

NAME

6       lsm_volume_write_cache_policy_update - Change RAM write cache policy of
7       the specified volume
8

SYNOPSIS

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

ARGUMENTS

14       conn        Valid lsm_connect pointer.
15
16       volume      A single lsm_volume
17
18       wcp         uint32_t.  Write cache policy. Valid values are: * LSM_VOL‐
19                   UME_WRITE_CACHE_POLICY_WRITE_BACK
20                      Change    to    write    back    mode.     *    LSM_VOL‐
21                   UME_WRITE_CACHE_POLICY_AUTO
22                      Change  to  auto  mode:  use  write  back mode when bat‐
23                   tery/capacitor
24                      is healthy, otherwise use  write  through.   *  LSM_VOL‐
25                   UME_WRITE_CACHE_POLICY_WRITE_THROUGH
26                      Change to write through mode.
27
28       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
29

VERSION

31       1.3
32

DESCRIPTION

34       Change  the RAM write cache policy on specified volume. If LSM_CAP_VOL‐
35       UME_WRITE_CACHE_POLICY_UPDATE_IMPACT_READ is supported(e.g.  HPE  Smar‐
36       tArray), the changes on write cache policy might also impact read cache
37       policy. If LSM_CAP_VOLUME_WRITE_CACHE_POLICY_UPDATE_WB_IMPACT_OTHER  is
38       supported(e.g.  HPE  SmartArray),  changing write cache policy to write
39       back mode might impact other volumes in the same system.
40

CAPABILITY

42       LSM_CAP_VOLUME_WRITE_CACHE_POLICY_UPDATE_AUTO              LSM_CAP_VOL‐
43       UME_WRITE_CACHE_POLICY_UPDATE_WRITE_BACK                   LSM_CAP_VOL‐
44       UME_WRITE_CACHE_POLICY_UPDATE_WRITE_THROUGH                LSM_CAP_VOL‐
45       UME_WRITE_CACHE_POLICY_UPDATE_WB_IMPACT_OTHER              LSM_CAP_VOL‐
46       UME_WRITE_CACHE_POLICY_UPDATE_IMPACT_READ
47

RETURN

49       LSM_ERR_OK on success else error reason
50           * LSM_ERR_OK
51               On success.
52           * LSM_ERR_NOT_FOUND_VOLUME
53               When volume not found.
54           * LSM_ERR_INVALID_ARGUMENT
55               When any argument is NULL or invalid flags.
56           * LSM_ERR_NO_SUPPORT
57               Not supported.
58
59
60
61December 2019        lsm_volume_write_calcshme__vpoolluimcey__wurpidtaet_ecache_policy_update(3)
Impressum