Spdk/test/unit/lib/blobfs
Jim Harris 4036f95bf8 thread: return int from spdk_thread_seng_msg
This at least allows the caller to know there was a
problem, and that the messages wasn't actually sent.

SPDK by default creates huge rings so this problem
should never occur, but out-of-tree use cases may
send messages much more often and require at least
a notification when it fails.

While here, change the thread check to an assert.
There's no need to work around someone calling
this function with a null thread parameter.

Fixes issue #811.

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

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472438
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2019-11-06 15:19:48 +00:00
..
blobfs_async_ut UT/blobfs: add asynchronous Writev/Readv unit tests 2019-06-28 09:50:50 +00:00
blobfs_bdev.c thread: return int from spdk_thread_seng_msg 2019-11-06 15:19:48 +00:00
blobfs_sync_ut UT/blobfs: add a append write over blob boundary UT 2019-08-14 21:42:06 +00:00
tree.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
Makefile blobfs: add blobfs_detect RPC 2019-10-09 05:02:00 +00:00