CA-136041: Multipathd forgets faulty paths after an SR operation #274
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.
The operations pbd-plug and -unplug cause 'multipathd -k "reconfigure"'.
During reconfigure all(!) maps are deleted and re-created. Multipathd
re-creates maps without paths that are temporarily down when doing this.
These paths will only restore if they timeout beyond their dev_loss_tmo
and get re-added later, as this triggers the multipathd behaviour for new
devices. Hence, any SR operation done before dev_loss_tmo the faulty paths
are lost and never added. The fix to this problem is two fold -
a) multipathd reconfigure has been modified to include even faulty paths
while recreating maps
b) devices have to be deleted from system when SR operations are performed
before dev_loss_tmo
Signed-off-by: Sharath Babu sharath.babu@citrix.com