]> git.michaelhowe.org Git - packages/o/openafs.git/commit
rx: Reorganise transmit queue walk
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 5 Jun 2011 10:04:12 +0000 (11:04 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 7 Jun 2011 15:55:28 +0000 (08:55 -0700)
commitfe7d38f3205bd879e961f5849ed64df5b495388a
treec32da47f16cdd4611760f670acd52f620aac380c
parentcd326b2f54c3397468807c32ce0834f73c9d5d1b
rx: Reorganise transmit queue walk

The transmit queue is stored in the order that we transmitted the
packets (by sequence number). This means that we can do all of the
ACK processing by just doing a single walk of this queue, rather
than having to walk the queue multiple times, once for each type of
ACK.

This clarifies the queue processing, and should reduce the amount of
time that we spending iterating large transmit queues.

Change-Id: I59578956e81197bbea7ce496e2f520a2995a3e95
Reviewed-on: http://gerrit.openafs.org/4796
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx.c