[WIP] CA-192760: use noop scheduler for multipath devices#293
Open
germanop wants to merge 3 commits intoxapi-project:masterfrom
Open
[WIP] CA-192760: use noop scheduler for multipath devices#293germanop wants to merge 3 commits intoxapi-project:masterfrom
germanop wants to merge 3 commits intoxapi-project:masterfrom
Conversation
We need to ensure we use noop IO scheduler for multipath devices and non local devices. We were used to do that in the storage manager but for devices going offline and added back this is not possible, becasue SM is not running all the time. This patch ensures the noop scheduler is set for specific devices and this setting is preserved even when SM is not running or when SM is not managing multipath (a potentially upcoming feature). Whit this rule, we use noop for any multipath device or any block device that is not on the ATA bus (a very weak decision rule to get an idea of locally attached devices). Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
A decorator for deprecated functions has been created. Deprecation is this case means replacing them with a no-op function and a warning message. Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
CA-192760: use noop IO scheduler for specific device types We need to ensure that a noop scheduler is used for the following devices: - non rotational disks (e.g. SSDs) - multipath devices (we assume they have a clever controller if many paths exist) - remote arrays In the latter case we are not sure the chosen rule is always doing the right thing. We were used to do that in the storage manager but for devices going offline and added back this is not possible, because SM is not running all the time. This patch ensures the noop scheduler is set for specific devices and this setting is preserved even when SM is not running or when SM is not explicitly managing multipath (a potentially upcoming feature). Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Patch not ready to be pushed.
The following is pending:
that a slave device is set with an elevator different than the multipath dm devices does not necessarily
mean the kernel is taking that elevator really into account