thread: Replace #include of io_channel.h with thread.h
Change-Id: I6babd4cf990bf19b510db88bdfb0ca81e29d9252 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/414700 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Madhu Pai <mpai@netapp.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
c1dc8cd584
commit
a83f91c29a
@ -37,7 +37,7 @@
|
||||
#include "spdk/copy_engine.h"
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/queue.h"
|
||||
|
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/event.h"
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/scsi_spec.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/uuid.h"
|
||||
|
||||
/** Block device module */
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/json.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/pci_ids.h"
|
||||
#include "spdk/env.h"
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/fd.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/json.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/string.h"
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/nvme_spec.h"
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/rpc.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/fd.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/json.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/rpc.h"
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/copy_engine.h"
|
||||
#include "spdk/json.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/string.h"
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/json.h"
|
||||
|
||||
#include "spdk/bdev_module.h"
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/json.h"
|
||||
#include "spdk/nvme.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/util.h"
|
||||
|
||||
#include "spdk/bdev_module.h"
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/json.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/util.h"
|
||||
|
||||
#include "spdk/bdev_module.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/json.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/scsi_spec.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "spdk/blob_bdev.h"
|
||||
#include "spdk/blob.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/bdev_module.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "spdk/crc32.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/bit_array.h"
|
||||
#include "spdk/likely.h"
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "blobstore.h"
|
||||
#include "request.h"
|
||||
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/queue.h"
|
||||
|
||||
#include "spdk_internal/log.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "blobfs_internal.h"
|
||||
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/assert.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
static size_t g_max_copy_module_size = 0;
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/ioat.h"
|
||||
|
||||
#define IOAT_MAX_CHANNELS 64
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "spdk_internal/log.h"
|
||||
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/util.h"
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/rpc.h"
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
#include "spdk_internal/event.h"
|
||||
#include "spdk/env.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/nvme.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/sock.h"
|
||||
#include "spdk/string.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/trace.h"
|
||||
#include "spdk/net.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/iscsi_spec.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
#include "iscsi/param.h"
|
||||
#include "iscsi/tgt_node.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "spdk_internal/lvolstore.h"
|
||||
#include "spdk_internal/log.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/blob_bdev.h"
|
||||
#include "spdk/util.h"
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/event.h"
|
||||
|
||||
#include "spdk_internal/log.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "spdk/bit_array.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/trace.h"
|
||||
#include "spdk/nvme_spec.h"
|
||||
#include "spdk/string.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/nvme.h"
|
||||
#include "spdk/nvmf_spec.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/nvmf.h"
|
||||
#include "spdk/trace.h"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "transport.h"
|
||||
|
||||
#include "spdk/assert.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/nvmf.h"
|
||||
#include "spdk/nvmf_spec.h"
|
||||
#include "spdk/string.h"
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "nvmf_internal.h"
|
||||
#include "transport.h"
|
||||
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/nvme.h"
|
||||
#include "spdk/nvmf_spec.h"
|
||||
|
@ -43,7 +43,7 @@ extern "C" {
|
||||
#include "spdk/blobfs.h"
|
||||
#include "spdk/blob_bdev.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/bdev.h"
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "scsi_internal.h"
|
||||
#include "spdk/endian.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/util.h"
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/log.h"
|
||||
|
||||
#ifdef __linux__
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "spdk/conf.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/barrier.h"
|
||||
#include "spdk/vhost.h"
|
||||
#include "spdk/bdev.h"
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <linux/virtio_scsi.h>
|
||||
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/scsi.h"
|
||||
#include "spdk/scsi_spec.h"
|
||||
#include "spdk/conf.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "spdk/copy_engine.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
#include "CUnit/Basic.h"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/string.h"
|
||||
|
||||
struct bdevperf_task {
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "spdk/blobfs.h"
|
||||
#include "spdk/bdev.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/blob_bdev.h"
|
||||
#include "spdk/log.h"
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "spdk_cunit.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk_internal/mock.h"
|
||||
|
||||
static uint32_t g_ut_num_threads;
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
static int g_time_in_sec;
|
||||
static struct spdk_poller *test_end_poller;
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
static int g_time_in_sec;
|
||||
static int g_queue_depth;
|
||||
|
@ -31,7 +31,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "bs_scheduler.c"
|
||||
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "spdk/blobfs.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/log.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/barrier.h"
|
||||
|
||||
#include "spdk_cunit.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "spdk_cunit.h"
|
||||
#include "spdk/blob.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk/util.h"
|
||||
|
||||
#include "common/lib/test_env.c"
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "CUnit/Basic.h"
|
||||
#include "spdk_cunit.h"
|
||||
#include "spdk_internal/mock.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
|
||||
#include "unit/lib/json_mock.c"
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "CUnit/Basic.h"
|
||||
#include "spdk_cunit.h"
|
||||
#include "spdk/io_channel.h"
|
||||
#include "spdk/thread.h"
|
||||
#include "spdk_internal/mock.h"
|
||||
#include "common/lib/test_env.c"
|
||||
#include "unit/lib/json_mock.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user