summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorDHE <[email protected]>2017-03-25 22:36:28 -0400
committerTony Hutter <[email protected]>2017-07-06 15:25:39 -0700
commit5e6057b574a8bccadd71ccfdcc1e4344150aef8e (patch)
tree85c359ed0462a670028aebe776d07f8d859120a6 /module
parent94d353a0bf5ee34adb69fe018528b25577457e7a (diff)
Increase zfs_vdev_async_write_min_active to 2
Resilver operations frequently cause only a small amount of dirty data to be written to disk at a time, resulting in the IO scheduler to only issue 1 write at a time to the resilvering disk. When it is rotational media the drive will often travel past the next sector to be written before receiving a write command from ZFS, significantly delaying the write of the next sector. Raise zfs_vdev_async_write_min_active so that drives are kept fed during resilvering. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: DHE <[email protected]> Issue #4825 Closes #5926
Diffstat (limited to 'module')
-rw-r--r--module/zfs/vdev_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev_queue.c b/module/zfs/vdev_queue.c
index c4e80d517..49f6fc57a 100644
--- a/module/zfs/vdev_queue.c
+++ b/module/zfs/vdev_queue.c
@@ -146,7 +146,7 @@ uint32_t zfs_vdev_sync_write_min_active = 10;
uint32_t zfs_vdev_sync_write_max_active = 10;
uint32_t zfs_vdev_async_read_min_active = 1;
uint32_t zfs_vdev_async_read_max_active = 3;
-uint32_t zfs_vdev_async_write_min_active = 1;
+uint32_t zfs_vdev_async_write_min_active = 2;
uint32_t zfs_vdev_async_write_max_active = 10;
uint32_t zfs_vdev_scrub_min_active = 1;
uint32_t zfs_vdev_scrub_max_active = 2;