]> git.proxmox.com Git - mirror_zfs.git/commit
Increase zfs_vdev_async_write_min_active to 2
authorDHE <git@dehacked.net>
Sun, 26 Mar 2017 02:36:28 +0000 (22:36 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 14 Apr 2017 21:03:44 +0000 (14:03 -0700)
commit06226b5936eefa16372cc370c584f4287bbc58c4
tree82049717ff9475c2f809cee1b48d68f6ee8def48
parentf6d4ce8e34e8b051ccc8823604b53b5b27ba6407
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 <behlendorf1@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Issue #4825
Closes #5926
man/man5/zfs-module-parameters.5
module/zfs/vdev_queue.c