-
Notifications
You must be signed in to change notification settings - Fork 298
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
The "nominated" optimization for pool create operations in ds_rsvc has become less effective because of certain recent timing changes. This patch replaces the "nominated" optimization with new one that piggybacks on the first POOL_CREATE sent to a pool service. - Employ the unused pool_create_in.pri_op.pi_hdl to ask a PS replica to campaign, so that no RPC protocol bump is necessary. In theory, the absolute safety of both optimizations relies on a raft update (to be made soon). This patch also changes rsvc_client to begin each leader search from a random replica, instead of a fixed one. When a lot of pool services are created on the same set of ranks, this change distributes the pool service leader more evenly. Signed-off-by: Li Wei <wei.g.li@intel.com>
- Loading branch information
Showing
6 changed files
with
55 additions
and
54 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
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