[slam] Speed up NACK transmission by restricting the block-list length
authorMichael Brown <mcb30@etherboot.org>
Tue, 10 Jun 2008 10:23:34 +0000 (11:23 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 10 Jun 2008 10:23:34 +0000 (11:23 +0100)
commit1e5c2d48cbb15bfad2ac1f777acec51f702df908
tree6c80de5ef8b10443e6f0763389f25b2066590177
parent81d92d51813f5ae2d5389d76fd114dd255d32038
[slam] Speed up NACK transmission by restricting the block-list length

Shorter NACK packets take less time to construct and spew out less
debug output, and there's a limit to how useful it is to send a
complete missing-block list anyway; if the loss rate is high then
we're going to have to retransmit an updated missing-block list
anyway.

Also add pretty debugging output to show the list of requested blocks.
src/net/udp/slam.c