doc/jsonrpc: Add missing info about OCF cache modes
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com> Change-Id: I7654bffdcbbe85dd17918575c8676a811ef77669 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6432 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
37028231db
commit
ba2fed77b4
@ -1901,14 +1901,14 @@ Example response:
|
||||
|
||||
Construct new OCF bdev.
|
||||
Command accepts cache mode that is going to be used.
|
||||
Currently, we support Write-Through, Pass-Through and Write-Back OCF cache modes.
|
||||
You can find more details about supported cache modes in the [OCF documentation](https://open-cas.github.io/cache_configuration.html#cache-mode)
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Optional | Type | Description
|
||||
----------------------- | -------- | ----------- | -----------
|
||||
name | Required | string | Bdev name to use
|
||||
mode | Required | string | OCF cache mode ('wb' or 'wt' or 'pt')
|
||||
mode | Required | string | OCF cache mode: wb, wt, pt, wa, wi, wo
|
||||
cache_bdev_name | Required | string | Name of underlying cache bdev
|
||||
core_bdev_name | Required | string | Name of underlying core bdev
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user