Project

General

Profile

Actions

Bug #5352

closed

scrub should pause when there is some dirty data

Added by Matthew Ahrens almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2014-11-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

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.

Actions #1

Updated by Electric Monk almost 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 6f6a76adacda33b10633476dc6c5d66d7f17dd94

commit  6f6a76adacda33b10633476dc6c5d66d7f17dd94
Author: Matthew Ahrens <mahrens@delphix.com>
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 <alex.reece@delphix.com>
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Richard Elling <richard.elling@richardelling.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF