scrub should pause when there is some dirty data
Scrub/resilver should pause if there is enough dirty data. Otherwise, we could
scrub for the maximum of zfs_txg_timeout seconds, despite a high % dirty data
and subsequent throttling of incoming write requests.
We should pause when dirty data is >
zfs_vdev_async_write_active_min_dirty_percent. i.e. once we start to increase
the number of concurrent async writes.
Updated by Electric Monk over 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 6f6a76adacda33b10633476dc6c5d66d7f17dd94 Author: Matthew Ahrens <firstname.lastname@example.org> Date: 2014-11-23T18:46:05.000Z 5351 scrub goes for an extra second each txg 5352 scrub should pause when there is some dirty data Reviewed by: Alex Reece <email@example.com> Reviewed by: Christopher Siden <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Reviewed by: Richard Elling <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>