-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MMP: increase delay for busy pool before suspending
In mmp_thread(), if the mmp_delay is increasing beyond the fixed mmp_interval, use the longer mmp_delay value when determining if the pool should be suspended. Otherwise, if the system is very busy (but still getting MMP writes to disk) it may incorrectly suspend the pool, even though a peer system would not import it. Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
- Loading branch information
1 parent
6bc4a23
commit 891b2e7
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters