372c5e1ec7
ImmediateData in negotation parameters can be controlled by the config file and currently "Yes" or "No" are valid values of it in the config file. "Yes" or "No" means almost bool. Additionally, ImmediateData is defined as boolean value in the iSCSI specification as follows. However ImmediateData is an uint32_t variable and 0 or 1 are used in SPDK now. In the upcoming JSON config file, boolean value should be set to ImmediateData. Hence change all variables and constants related with ImmediateData to boolean in this patch. InitialR2T, DataPDUInOrder, and DataSequenceInOrder are not controllable by the config file but these are defined as boolean value in the iSCSI specification. Hence change them to bool too. Besides, AllowDuplicateIsid is used almost as boolean value. Hence change it to bool too. InitialR2T=<boolean-value> ImmediateData=<boolean-value> DataPDUInOrder=<boolean-value> DataSequenceInOrder=<boolean-value> Change-Id: I9f98b219687b3600194563b1d6b85551f4586144 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/403237 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> |
||
---|---|---|
.. | ||
app | ||
blobfs/rocksdb | ||
blobstore | ||
common | ||
config | ||
cpp_headers | ||
iscsi_tgt | ||
lib | ||
lvol | ||
nvmf | ||
pmem | ||
unit | ||
vhost | ||
Makefile | ||
spdk_cunit.h |