OpenAFS CVS Commit: openafs/src/rx by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 29 Dec 2008 17:38:30 EST


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/rx

Modified Files:
      Tag: openafs-devel-1_5_x
	rx.c rx.h rx_packet.c rx_packet.h rx_rdwr.c 
Log Message:
DELTA DEVEL15-rx-packet-count-debugging-20081229
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Validating the state of the rx library is hard.  This patch makes it
a bit easier to validate from within crash dumps (or on Windows in
"fs memdump" output) whether rx packets and calls are in a sane state.
When the library is compiled with -DDEBUG the rx_call and rx_packet
data structures are extended to include a linked list of all allocated
objects and counters are added to track the number of packets on each
of the transmit, receive, and iovec queues.

This compliments the tracking of packet states via RX_PKTFLAGs.

For Windows, rx_DumpCalls and rx_DumpPackets functions are added
that will dump the state of all allocated calls and packets (in Checked
build) in response to a "fs memdump" command.  These functions are
exported from afsrpc.dll.



--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-rx-packet-count-debugging-20081229 openafs/src/rx/rx.c 1.97.2.41 1.97.2.42
DEVEL15-rx-packet-count-debugging-20081229 openafs/src/rx/rx.h 1.28.4.13 1.28.4.14
DEVEL15-rx-packet-count-debugging-20081229 openafs/src/rx/rx_packet.c 1.62.2.18 1.62.2.19
DEVEL15-rx-packet-count-debugging-20081229 openafs/src/rx/rx_packet.h 1.14.4.3 1.14.4.4
DEVEL15-rx-packet-count-debugging-20081229 openafs/src/rx/rx_rdwr.c 1.29.2.11 1.29.2.12