numam-spdk/examples/blob/hello_world
Jim Harris 1a2de82456 examples/hello_blob: use io_unit_size instead of page_size
Blobstore now supports 512B reads/writes to blobs, if the
backing device is formatted for 512B LBAs.  The hello_blob
example app was never updated to account for this - so when
running against a backing device with 512B LBAs, it would
fail since it was only reading/writing 1 blob io_unit (512B)
but was comparing a page size (4KB).

Clean up a typo too while we're here.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I6cfeeff1c160a24d4c10b68b9dd93717ed79f212

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450069
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-04-04 01:10:14 +00:00
..
.gitignore examples: blobstore hello world 2017-08-11 13:17:11 -04:00
hello_blob.c examples/hello_blob: use io_unit_size instead of page_size 2019-04-04 01:10:14 +00:00
hello_blob.conf examples: blobstore hello world 2017-08-11 13:17:11 -04:00
Makefile notify: add notification library 2019-03-29 21:15:14 +00:00