kernel - Fix clustered read bug
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Mar 2012 00:11:09 +0000 (17:11 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Mar 2012 00:11:09 +0000 (17:11 -0700)
commit616dd1e975d76733afe06d1739b0cdefcafff635
tree9dc8fcce85936103936be49fec98d885b522dcd5
parente0dc2ba81ef2211c849a0238427769eff8253773
kernel - Fix clustered read bug

* cluster_read() was improperly reducing the 'maxra' variable when
  handling the read-ahead mark, creating a degenerate situation which
  would cause only the first few burst reads from a file to cluster,
  and the remainder to read-ahead but not cluster.
sys/kern/vfs_cluster.c