+17
−12
Loading
For 32b Guard PI format and 64b Guard PI format, data block size should be equal or greater than 4KiB. However, the check was done only for separate metadata. This was wrong. Move the check to the common part to be available both for interleaved metadata and separate metadata. Unit test was not enough for such checks. Add more cases. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ibb3b0c4bf3c56ffc70a6e16eacbe8ca390e36ebb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24204 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>