HomeFreeBSD

Illumos 4753 - increase number of outstanding async writes when sync task is…

Description

Illumos 4753 - increase number of outstanding async writes when sync task is waiting

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Garrett D'Amore <garrett@damore.org>

References:

https://www.illumos.org/issues/4753
https://github.com/illumos/illumos-gate/commit/73527f4

Comments by Matt Ahrens from the issue tracker:

When a sync task is waiting for a txg to complete, we should hurry
it along by increasing the number of outstanding async writes
(i.e. make vdev_queue_max_async_writes() return a larger number).
Initially we might just have a tunable for "minimum async writes
while a synctask is waiting" and set it to 3.

Ported-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2716

Details

Provenance
Alex Reece <alex@delphix.com>Authored on Jul 18 2014, 3:08 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 23 2014, 8:50 PM
Parents
rG1f6f97f30497: Illumos 5116 - zpool history -i goes into infinite loop
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGacbad6ff6768: Illumos 4753 - increase number of outstanding async writes when sync task is… (authored by Alex Reece <alex@delphix.com>).Sep 23 2014, 8:50 PM