Spdk/module/bdev/ocf
Rafal Stefanowski 8fcb8b966d bdev/ocf: Improve cache line size handling
- Use consistent cache line size units in KiB across RPC calls
and config files. The KiB units are much easier to use then
the bytes units and are more human readable.
- Properly handle cache start when cache line size is incorrect.
- Add test to check if cache line size value is reported correctly.
- Add cache line size info to JSON RPC documentation.

Fixes #1858

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Change-Id: Iec9ede85f6884b64605d2d112947b3f175cbd938
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7614
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2021-05-11 11:56:04 +00:00
..
ctx.c bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00
ctx.h bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00
data.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
data.h bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
stats.c ocf: update ocf submodule to v20.3 2020-04-17 07:32:48 +00:00
stats.h ocf: update ocf submodule to v20.3 2020-04-17 07:32:48 +00:00
utils.c bdev/ocf: Improve cache line size handling 2021-05-11 11:56:04 +00:00
utils.h bdev/ocf: Improve cache line size handling 2021-05-11 11:56:04 +00:00
vbdev_ocf_rpc.c ocf/rpc: Add bdev_ocf_set_cache_mode method 2021-03-18 14:39:09 +00:00
vbdev_ocf.c bdev/ocf: Improve cache line size handling 2021-05-11 11:56:04 +00:00
vbdev_ocf.h ocf/rpc: Add bdev_ocf_set_cache_mode method 2021-03-18 14:39:09 +00:00
volume.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
volume.h bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00