kernel - Enhance buffer flush and cluster_write linearity (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Jun 2016 02:14:43 +0000 (19:14 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Jun 2016 02:14:43 +0000 (19:14 -0700)
commitdb83a7065644b0de9cba36e142afd25d55aaddd3
tree278c573d00a8c9ea929a9afe06adc961444a17b9
parent8ce9db80715b9067468fe066c422d40b20e27cfa
kernel - Enhance buffer flush and cluster_write linearity (2)

* Fix bug last commit.  When looping the buffer has to be reset to
  the marker or the iteration can wind up on the wrong queue.

* Also count the INVAL case in the loop instead of breaking out.
sys/kern/vfs_bio.c