thread: remove io_channel.h public header

It's been unoficially deprecated since SPDK 18.07,
let's remove it now.

Change-Id: I2471097cac6da3dd011959b903dd270b95cd480e
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1104
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Darek Stojaczyk 2020-03-03 10:20:43 +01:00 committed by Tomasz Zawadzki
parent 4a9f28a482
commit 8e05b15c11
13 changed files with 14 additions and 59 deletions

View File

@ -24,6 +24,9 @@ library through the `spdk_vmd_init` call.
`--json-ignore-init-errors` command line param has been added to ignore initialization errors `--json-ignore-init-errors` command line param has been added to ignore initialization errors
on JSON config load. on JSON config load.
The public header file io_channel.h has been removed. Please use thread.h which has the
exact same API.
### crypto ### crypto
Support for AES_XTS was added for the QAT polled mode driver (pmd). The create RPC Support for AES_XTS was added for the QAT polled mode driver (pmd). The create RPC

View File

@ -1,48 +0,0 @@
/*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Intel Corporation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** \file
* IO channel
*/
#ifndef SPDK_IO_CHANNEL_H_
#define SPDK_IO_CHANNEL_H_
/*
* This file has been renamed to thread.h. Please update
* include paths.
*/
#include "spdk/thread.h"
#endif /* SPDK_IO_CHANNEL_H_ */

View File

@ -34,7 +34,7 @@
#include "spdk/likely.h" #include "spdk/likely.h"
#include "spdk/stdinc.h" #include "spdk/stdinc.h"
#include "spdk/nvme.h" #include "spdk/nvme.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/bdev_module.h" #include "spdk/bdev_module.h"
#include "spdk/string.h" #include "spdk/string.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"

View File

@ -33,7 +33,7 @@
#include "spdk/stdinc.h" #include "spdk/stdinc.h"
#include "spdk/nvme.h" #include "spdk/nvme.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/string.h" #include "spdk/string.h"
#include "spdk/likely.h" #include "spdk/likely.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"

View File

@ -45,7 +45,7 @@
#include "spdk/likely.h" #include "spdk/likely.h"
#include "spdk/endian.h" #include "spdk/endian.h"
#include "spdk/log.h" #include "spdk/log.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"

View File

@ -40,7 +40,7 @@
#include "spdk/nvme_spec.h" #include "spdk/nvme_spec.h"
#include "spdk/nvmf_fc_spec.h" #include "spdk/nvmf_fc_spec.h"
#include "spdk/event.h" #include "spdk/event.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "nvmf_internal.h" #include "nvmf_internal.h"
#define SPDK_NVMF_FC_TR_ADDR_LEN 64 #define SPDK_NVMF_FC_TR_ADDR_LEN 64

View File

@ -36,7 +36,7 @@
#include "spdk/env.h" #include "spdk/env.h"
#include "spdk/conf.h" #include "spdk/conf.h"
#include "spdk/endian.h" #include "spdk/endian.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/bdev_module.h" #include "spdk/bdev_module.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"

View File

@ -35,7 +35,7 @@
#include "spdk/bdev.h" #include "spdk/bdev.h"
#include "spdk/conf.h" #include "spdk/conf.h"
#include "spdk/env.h" #include "spdk/env.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/json.h" #include "spdk/json.h"
#include "spdk/string.h" #include "spdk/string.h"
#include "spdk/likely.h" #include "spdk/likely.h"

View File

@ -43,7 +43,7 @@
#include "spdk/bdev_module.h" #include "spdk/bdev_module.h"
#include "spdk/conf.h" #include "spdk/conf.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/string.h" #include "spdk/string.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"
#include "spdk/cpuset.h" #include "spdk/cpuset.h"

View File

@ -35,7 +35,7 @@
#include "spdk/bdev_module.h" #include "spdk/bdev_module.h"
#include "spdk/env.h" #include "spdk/env.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"
#include "data.h" #include "data.h"

View File

@ -33,7 +33,7 @@
#include "bdev_raid.h" #include "bdev_raid.h"
#include "spdk/env.h" #include "spdk/env.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/conf.h" #include "spdk/conf.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"
#include "spdk/string.h" #include "spdk/string.h"

View File

@ -34,7 +34,7 @@
#include "bdev_raid.h" #include "bdev_raid.h"
#include "spdk/env.h" #include "spdk/env.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/string.h" #include "spdk/string.h"
#include "spdk/util.h" #include "spdk/util.h"

View File

@ -34,7 +34,7 @@
#include "bdev_raid.h" #include "bdev_raid.h"
#include "spdk/env.h" #include "spdk/env.h"
#include "spdk/io_channel.h" #include "spdk/thread.h"
#include "spdk/string.h" #include "spdk/string.h"
#include "spdk/util.h" #include "spdk/util.h"