include/reduce: remove declaration of non-existent function
Since commit 0b0af8f30b
(reduce: calculate vol size from backing dev size)
removes definition of spdk_reduce_get_backing_device_size(), the declaration
of it should be removed as well.
Change-Id: Id5ce3776fa4e119ff771f6bee9c06e09bfc842ce
Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/437217
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>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
ae0aae1532
commit
c14dd64467
@ -81,15 +81,6 @@ struct spdk_reduce_vol_params {
|
|||||||
uint64_t vol_size;
|
uint64_t vol_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the required size for the backing device for a compressed volume.
|
|
||||||
*
|
|
||||||
* \param params Parameters for the compressed volume
|
|
||||||
* \return Size of the required backing device (in bytes) needed to create
|
|
||||||
* the compressed volume. Returns -EINVAL if params is invalid.
|
|
||||||
*/
|
|
||||||
int64_t spdk_reduce_get_backing_device_size(struct spdk_reduce_vol_params *params);
|
|
||||||
|
|
||||||
struct spdk_reduce_vol;
|
struct spdk_reduce_vol;
|
||||||
|
|
||||||
typedef void (*spdk_reduce_vol_op_complete)(void *ctx, int reduce_errno);
|
typedef void (*spdk_reduce_vol_op_complete)(void *ctx, int reduce_errno);
|
||||||
|
Loading…
Reference in New Issue
Block a user