numam-spdk/test
Tomasz Zawadzki b51b8b4f9c lvol: fix incorrect assumption of 1MiB cluster_size
Previously incorrectly it was assumed that cluster size
was always to be 1MiB. For most evident example of this
please see spdk_lvol_create() sz > free_clusters comparison.

This is now fixed and lvol->sz was changed to lvol->cluster_num.
It was done to increase readability - only dealing with
number of clusters when creating or resizing lvol.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: If8cdbad18978319e57b6952dbf5a55d56785f108
Reviewed-on: https://review.gerrithub.io/380467
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-09-27 17:27:13 -04:00
..
app test: Add a bdev management service 2017-08-02 18:04:55 -04:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi: Add iscsi_tgt with lvol backend test 2017-09-20 19:03:34 -04:00
lib test:move env initialization steps after the parameters parsing 2017-09-21 14:07:17 -04:00
nvmf test/nvmf/host: Add bdevperf test 2017-09-22 17:40:22 -04:00
unit lvol: fix incorrect assumption of 1MiB cluster_size 2017-09-27 17:27:13 -04:00
vhost rpc/vhost: unify RPC "remove_vhost_controller" for all backends 2017-09-26 15:35:54 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00