260f9a77c3
Add prchk_reftag and prchk_guard to construct_nvme_bdev RPC. In spdk_rpc_construct_nvme_bdev, create prchk_flags based on them and pass it to spdk_bdev_nvme_create, and in spdk_bdev_nvme_create, pass it to create_ctrlr. A single option enable_prchk may be enough but add separate options for reftag and guard to clarify that apptag is not supported yet. The next patch will make per-controller PRCHK options configurable by .INI config file. Change-Id: I370ebbe984ee83d133b7f50bdc648ea746c8d42d Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/443833 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>