Opal: Small fixes
1. Log level change to info when checking support 2. Delete new lines 3. Enlarge the timeout seconds to 10min for revert TPer as it sometimes need 6-7min for this operation. Change-Id: I1b7e32917bd99c859f1515b07f2530669418f0db Signed-off-by: Chunyang Hui <chunyang.hui@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468915 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
This commit is contained in:
parent
6b05c10930
commit
f74b33ad0b
@ -882,7 +882,7 @@ opal_discovery0_end(struct spdk_opal_dev *dev)
|
||||
supported = true;
|
||||
break;
|
||||
default:
|
||||
SPDK_NOTICELOG("Unknow feature code: %d\n", feature_code);
|
||||
SPDK_INFOLOG(SPDK_LOG_OPAL, "Unknow feature code: %d\n", feature_code);
|
||||
}
|
||||
cpos += body->tper.length + 4;
|
||||
}
|
||||
@ -893,7 +893,7 @@ opal_discovery0_end(struct spdk_opal_dev *dev)
|
||||
}
|
||||
|
||||
if (single_user == false) {
|
||||
SPDK_NOTICELOG("Single User Mode Not Supported\n");
|
||||
SPDK_INFOLOG(SPDK_LOG_OPAL, "Single User Mode Not Supported\n");
|
||||
}
|
||||
|
||||
if (found_com_id == false) {
|
||||
@ -1063,7 +1063,6 @@ opal_start_generic_session(struct spdk_opal_dev *dev,
|
||||
return opal_finalize_and_send(dev, 1, opal_start_session_cb, NULL);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
opal_start_anybody_adminsp_session(struct spdk_opal_dev *dev)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@
|
||||
#define OPAL_UID_LENGTH 8
|
||||
#define OPAL_MAX_LRS 8 /* minimum 8 defined by spec */
|
||||
|
||||
#define SPDK_OPAL_TPER_TIMEOUT 30 /* seconds */
|
||||
#define SPDK_OPAL_TPER_TIMEOUT 600 /* seconds */
|
||||
|
||||
#define GENERIC_HOST_SESSION_NUM 0x69
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user