-
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.
Allow txg_kick() even there is a txg still syncing
Current txg_kick() only works if there is no txg in either quiescing or syncing. This commit allow txg_kick() to work as long as there is no txg is quiescing. This keeps syncing stage busy, which should benefit write throughput. Also txg_kick() should be triggered on dp_dirty_pertxg[] instead of dp_dirty_total, because dp_dirty_total won't be decreased until the dirty txg is synced. This change prevent pushing a empty txg through pipeline in a row. Signed-off-by: jxdking <[email protected]>
- Loading branch information
Showing
5 changed files
with
28 additions
and
19 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
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
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
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
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