Commit 34146a7a authored by paul luse's avatar paul luse Committed by Darek Stojaczyk
Browse files

lib/reduce: change and move the max IOVEC define for reduce



Changed to 17 from 32 per conversation with Jim and moved to
header file so it can be shared with the vbdev module.

Change-Id: Ic516b6466bf21d21d8073e9180deaa9929c6b742
Signed-off-by: default avatarpaul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463368


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBroadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
parent 3246fd7a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@

#include "spdk/uuid.h"

#define REDUCE_MAX_IOVECS	17

/**
 * Describes the parameters of an spdk_reduce_vol.
 */
+0 −2
Original line number Diff line number Diff line
@@ -87,8 +87,6 @@ struct spdk_reduce_chunk_map {
	uint64_t		io_unit_index[0];
};

#define REDUCE_MAX_IOVECS	32

struct spdk_reduce_vol_request {
	/**
	 *  Scratch buffer used for uncompressed chunk.  This is used for: