• Chris Mason's avatar
    Btrfs: More throttle tuning · 2dd3e67b
    Chris Mason authored
    * Make walk_down_tree wake up throttled tasks more often
    * Make walk_down_tree call cond_resched during long loops
    * As the size of the ref cache grows, wait longer in throttle
    * Get rid of the reada code in walk_down_tree, the leaves don't get
      read anymore, thanks to the ref cache.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    2dd3e67b
disk-io.c 48.1 KB