From d49402fe5f6fdfcdefb43a13aa545edd5041c91f Mon Sep 17 00:00:00 2001 From: WangHaiLiang Date: Wed, 5 Dec 2018 16:36:02 +0800 Subject: [PATCH] doc: update a header file about bdev programming guide The header file include/io_channel.h no longer exists. Message passing infrastructure now is abstracted by thead.h. Change-Id: I2fd6826d614ef5910787477eed75e81449625241 Signed-off-by: WangHaiLiang Reviewed-on: https://review.gerrithub.io/436118 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Jim Harris Reviewed-by: Liang Yan --- doc/bdev_pg.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bdev_pg.md b/doc/bdev_pg.md index 110b9264f..bbaad1e95 100644 --- a/doc/bdev_pg.md +++ b/doc/bdev_pg.md @@ -48,7 +48,7 @@ to as virtual bdevs, or *vbdevs* for short. ## Initializing The Library The bdev layer depends on the generic message passing infrastructure -abstracted by the header file include/io_channel.h. See @ref concurrency for a +abstracted by the header file include/spdk/thread.h. See @ref concurrency for a full description. Most importantly, calls into the bdev library may only be made from threads that have been allocated with SPDK by calling spdk_allocate_thread().