Keep 1 CCB free for private use. This avoids frequent recovery in scsipi when

resources appear to be exhausted.
This commit is contained in:
mlelstv 2016-06-05 05:29:01 +00:00
parent 68dc548575
commit 36dadbea16

View File

@ -355,8 +355,8 @@ map_session(session_t *session, device_t dev)
adapt->adapt_nchannels = 1;
adapt->adapt_request = iscsi_scsipi_request;
adapt->adapt_minphys = iscsi_minphys;
adapt->adapt_openings = CCBS_PER_SESSION;
adapt->adapt_max_periph = CCBS_PER_SESSION;
adapt->adapt_openings = CCBS_PER_SESSION - 1;
adapt->adapt_max_periph = CCBS_PER_SESSION - 1;
/*
* Fill in the scsipi_channel.