Loading
test/cuse: cleanup and better describe ns_manage test script
Added more comments for clarity. Moved namespace size calculation to the clean_up() function. Changed size calculation from nvmcap (id-ns) to tnvmcap (id-ctrlr). There is noneed to cache the size before deleting namespace, if we assume that all devices had single namespace encompassing the whole device. Changed blocksize from 512 to 4k. All devices in CI should support that, and usually thats the default. This could be further improved by reading LBAF and checking the Relative Performance (RP), but that would convolute the test scripts. This is good enough. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I8a38d00ae1442edf5480e4e72a8a8aa90380cd79 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2827 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com>