hammer2 - Add the vfs.hammer2.cluster_write sysctl back in
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 Aug 2018 02:59:06 +0000 (19:59 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 Aug 2018 02:59:06 +0000 (19:59 -0700)
commitf66cf3712cde69127a27daf2d8a805b7c7da52ce
treec60d38b9e13f629c87a6cfb107aa042138c41f15
parenta8bb93523005e5792491b9648c385b5b62c59b75
hammer2 - Add the vfs.hammer2.cluster_write sysctl back in

* Value may be 0 or 1, defaults to 0 (disabled).  Was previously
  enabled.

* By default H2 no longer sets B_CLUSTEROK on dirty buffers being
  written.  Theoretically this shouldn't be a problem because H2
  already uses a large 64KB buffer size.

* Should improve I/O throughput on high-performance SSDs by removing
  kernel overhead and should also work better with vfsync's dirty
  buffer scan which is already sorted.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_io.c
sys/vfs/hammer2/hammer2_vfsops.c