From ba2fed77b4e630bc7b74032b7950863b5035f208 Mon Sep 17 00:00:00 2001 From: Rafal Stefanowski Date: Tue, 16 Feb 2021 15:15:57 +0100 Subject: [PATCH] doc/jsonrpc: Add missing info about OCF cache modes Signed-off-by: Rafal Stefanowski Change-Id: I7654bffdcbbe85dd17918575c8676a811ef77669 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6432 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Tomasz Zawadzki Reviewed-by: Shuhei Matsumoto --- doc/jsonrpc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/jsonrpc.md b/doc/jsonrpc.md index d1f0613d5..5c32d3cb2 100644 --- a/doc/jsonrpc.md +++ b/doc/jsonrpc.md @@ -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