kernel - Performance tuning (4)
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Nov 2013 08:19:02 +0000 (00:19 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Nov 2013 08:19:02 +0000 (00:19 -0800)
commit2258af1d76cf6db5eefdac63588d1ad2dd6e6005
tree394f4ccdececd9f8458f6f1335b5439439683df2
parent41e5ab89edd0773de94684c5e88a12a63f5b144e
kernel - Performance tuning (4)

* Fix another bug in the new buf/bio code.  The flushing state can
  inadvertently become active and cause an endless loop due to a
  64-bit optimization (when BKVASIZE == MAXBSIZE) which is not properly
  conditionalized.

* Fix the endless loop.

* Add some debug variables and a sysctl to control it (temporary).
sys/kern/vfs_bio.c