bioq - Add a sysctl kern.bioq_barrier to control bioqdisksort()'s sorting.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 9 Aug 2009 02:35:19 +0000 (19:35 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 9 Aug 2009 02:35:19 +0000 (19:35 -0700)
commitef5488790dfc78207b3ed0e9ef063443736624d0
tree7ddd5bae0be5a261ba0fc9e0609e0995872282a9
parent4ecd8190c7233ad5f0caba1438da9745d643875a
bioq - Add a sysctl kern.bioq_barrier to control bioqdisksort()'s sorting.

Control how well sorted we want bioqdisksort() to be.  The value specified
in kern.bioq_barrier is the number of bio's that will be sorted until a
barrier is inserted, starting a new set.  The default value is 16.

This allows testing filesystem throughput under varying conditions.

Suggested-by: Jeffrey Hsu <hsu@dragonflybsd.org>
sys/kern/subr_disk.c