aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/cciss_scsi.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-07-29 09:58:36 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-07-29 09:58:36 +1000
commitaa1249840bfc8d62431eed5796bf99887b963ab6 (patch)
tree35cf6cd82910af52e271c5e78ad47529e6daaed6 /drivers/block/cciss_scsi.h
parenta161883a29bf6100efe7b5346bec274e5023c29c (diff)
lguest: Adaptive timeout
Since the correct timeout value varies, use a heuristic which adjusts the timeout depending on how many packets we've seen. This gives slightly worse results, but doesn't need tweaking when GSO is introduced. 500 usec 19.1887 xmit 561141 recv 1 timeout 559657 Dynamic (278) 20.1974 xmit 214510 recv 5 timeout 214491 usec 278 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/block/cciss_scsi.h')
0 files changed, 0 insertions, 0 deletions