Print this page
NEX-17999 SCSI enclosure services (ses) non-response causes device tree operation deadlock
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
*** 1019,1029 ****
if (env != NULL) {
i = atoi(env);
if (i > USCSI_TIMEOUT_MAX)
i = USCSI_TIMEOUT_MAX;
! else if (i < 0)
i = USCSI_DEFAULT_TIMEOUT;
} else
i = USCSI_DEFAULT_TIMEOUT;
timeo = i;
--- 1019,1029 ----
if (env != NULL) {
i = atoi(env);
if (i > USCSI_TIMEOUT_MAX)
i = USCSI_TIMEOUT_MAX;
! else if (i <= 0)
i = USCSI_DEFAULT_TIMEOUT;
} else
i = USCSI_DEFAULT_TIMEOUT;
timeo = i;