Commit ba2fed77 authored by Rafal Stefanowski's avatar Rafal Stefanowski Committed by Tomasz Zawadzki
Browse files

doc/jsonrpc: Add missing info about OCF cache modes



Signed-off-by: default avatarRafal 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent 37028231
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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