1lsm_volume_physical_disk_caLcihbes_tuoprdaagteem(g3ml)tsmC_vAoPlIumMea_npuhaylsical_disk_cache_update(3)
2
3
4
6 lsm_volume_physical_disk_cache_update - Change RAM physical disk cache
7 setting of specified volume.
8
10 int lsm_volume_physical_disk_cache_update (lsm_connect *conn, lsm_vol‐
11 ume *volume, uint32_t pdc, lsm_flag flags);
12
14 conn Valid lsm_connect pointer.
15
16 volume Pointer of lsm_volume.
17
18 pdc uint32_t. Physical disk cache setting, valid values are: *
19 LSM_VOLUME_PHYSICAL_DISK_CACHE_ENABLED
20 Enable physical disk cache. * LSM_VOLUME_PHYSI‐
21 CAL_DISK_CACHE_DISABLED
22 Disable physical disk cache
23
24 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
25
27 1.3
28
30 Change the setting of RAM physical disk cache of specified volume. On
31 some product(like HPE SmartArray), this action will be effective at
32 system level which means that even you are requesting a change on a
33 specified volume, this change will apply to all other volumes on the
34 same controller(system).
35
37 LSM_CAP_VOLUME_PHYSICAL_DISK_CACHE_UPDATE LSM_CAP_VOLUME_PHYSI‐
38 CAL_DISK_CACHE_UPDATE_SYSTEM_LEVEL
39
41 Error code as enumerated by 'lsm_error_number'.
42 * LSM_ERR_OK
43 On success.
44 * LSM_ERR_NOT_FOUND_VOLUME
45 When volume not found.
46 * LSM_ERR_INVALID_ARGUMENT
47 When any argument is NULL or invalid flags.
48 * LSM_ERR_NO_SUPPORT
49 Not supported.
50
51
52
53February 2019 lsm_volume_physicalls_md_ivsokl_ucmaec_hpeh_yuspidcaatle_disk_cache_update(3)