+4
−1
+5
−1
Loading
Make bdev's PI format configurable via the bdev_null_create RPC. Add the same check as the NVMe specification, for example, metadata size should not be less than 16 bytes if format is 16/32b Guard PI. Additionally, add dif_pi_format into write_json_config(). Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I64a53fd3d6dae4c85865c5174d86a55854d74d87 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24110 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>