Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/iscsi Keep 1 CCB free for private use. This avoids f...
details: https://anonhg.NetBSD.org/src/rev/647e997880af
branches: trunk
changeset: 345691:647e997880af
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Jun 05 05:29:01 2016 +0000
description:
Keep 1 CCB free for private use. This avoids frequent recovery in scsipi when
resources appear to be exhausted.
diffstat:
sys/dev/iscsi/iscsi_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 6400213ba81d -r 647e997880af sys/dev/iscsi/iscsi_main.c
--- a/sys/dev/iscsi/iscsi_main.c Sun Jun 05 05:25:59 2016 +0000
+++ b/sys/dev/iscsi/iscsi_main.c Sun Jun 05 05:29:01 2016 +0000
@@ -355,8 +355,8 @@
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.
Home |
Main Index |
Thread Index |
Old Index