-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
1. Do not retry internally for migration, because during system shutdown, if the migration is inside the loop of retry, for example keeping refreshing the pool map from the pool leader, then there is no easy way to stop the migration process inside the client stack. So let's return all failure to the migration. If there is failure happens, migration(rebuild) will requeue the job anyway. 2. Add schedule delay time to rebuild task, instead of sleeping directly in rebuild_task_ult(), since it might blocking the current rebuild to finish. Signed-off-by: Di Wang <di.wang@intel.com>
- Loading branch information
wangdi
authored
Apr 8, 2021
1 parent
ecd4bb7
commit ee51b35
Showing
5 changed files
with
30 additions
and
11 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