Skip to content

Commit

Permalink
8027 tighten up dsl_pool_dirty_delta
Browse files Browse the repository at this point in the history
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
  • Loading branch information
avg-I authored and ahrens committed Apr 7, 2017
1 parent 3991b53 commit 313ae1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/dsl_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ dsl_pool_dirty_delta(dsl_pool_t *dp, int64_t delta)
* Note: we signal even when increasing dp_dirty_total.
* This ensures forward progress -- each thread wakes the next waiter.
*/
if (dp->dp_dirty_total <= zfs_dirty_data_max)
if (dp->dp_dirty_total < zfs_dirty_data_max)
cv_signal(&dp->dp_spaceavail_cv);
}

Expand Down

0 comments on commit 313ae1e

Please sign in to comment.