numam-spdk/lib/blob
Maciej Szwed 33a97f2e3f blob: print error when dma allocation fails
For thin provisioned blobs we allocate dma memory
required for copying cluster from backing device.
When cluster size is too big dma allocation may fail
silently (only IO error).

Use PRIu32 to print out the cluster size, and while
here, fix two other places that were using %d to print
cluster size instead of PRIu32.

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I098b1a58aee2f0d3f4ead7aa326ecdb63a5b53d8

Reviewed-on: https://review.gerrithub.io/397563
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-01-31 15:37:26 -05:00
..
bdev blob: blob_bdev no longer converts unmap to write zeroes 2017-12-06 17:21:46 -05:00
blobstore.c blob: print error when dma allocation fails 2018-01-31 15:37:26 -05:00
blobstore.h blob: make _spdk_bs_allocate_cluster thread safe 2018-01-30 17:29:53 -05:00
Makefile blob: Add a bs_dev that always returns 0 2018-01-30 15:46:18 -05:00
request.c blob: support for thin provisioned reads and writes 2018-01-30 15:46:18 -05:00
request.h blob: support for thin provisioned reads and writes 2018-01-30 15:46:18 -05:00
zeroes.c blob: Add a bs_dev that always returns 0 2018-01-30 15:46:18 -05:00