hello_blob: Update comment about using events

The thread API is the preferred abstraction for sending
messages now.

Change-Id: I51d6886815e2f20c4726538fc8640c270eeb4854
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/424269
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Ben Walker 2018-08-31 13:26:48 -07:00
parent 3f6a54c1a7
commit bfc5b558fa

View File

@ -384,10 +384,9 @@ bs_init_complete(void *cb_arg, struct spdk_blob_store *bs,
/*
* The blostore has been initialized, let's create a blob.
* Note that we could allcoate an SPDK event and use
* spdk_event_call() to schedule it if we wanted to keep
* our events as limited as possible wrt the amount of
* work that they do.
* Note that we could pass a message back to ourselves using
* spdk_thread_send_msg() if we wanted to keep our processing
* time limited.
*/
create_blob(hello_context);
}