aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-02-17 05:22:58 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-02-17 05:22:58 +0000
commit7a465c285fb94b892496ed14ac331f45944f420c (patch)
treedcd22df66e2478dddc399d05eef8a5ddd2b6e4b3 /gnu
parentafa39f7a32c9b2d6003b06fda5c4fc21ab199747 (diff)
downloadsrc-7a465c285fb94b892496ed14ac331f45944f420c.tar.gz
src-7a465c285fb94b892496ed14ac331f45944f420c.zip
Change the way MaxCmdSN is used.
Before this change MaxCmdSN was reported as CmdSN + delta, that made it limit number of requests in transmission from the initiator to target, that was pretty useless. After this change MaxCmdSN limits number of requests queued to CTL, i.e. maximal queue depth for the initiator. The default limit is 256 outstanding requests per initiator at a time. This code uses existing cs_outstanding_ctl_pdus counter to track queue depth. It's semantics doen't perfectly match, but close enough to not add another counter. Just don't set the maxtags below 2. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=313854
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions