Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock bounce fixes #477

Merged
merged 2 commits into from
Sep 18, 2018
Merged

Conversation

mikechristie
Copy link
Collaborator

Fix a issue commonly seen with Linux initiators where during dm-multipath device initialization the lock bounces between gateways so much tcmu-runner ends up escalating the issue by dropping the iscsi connection by disabling the TPG. This results in probe related IO failing and/or dm-multipath path failures.

Mike Christie added 2 commits September 11, 2018 21:46
Don't escalate to dropping the iscsi connection if the lock is taken
from us. The initiator is most likely doing it's initialization and so
the lock is bouncing between paths during the device probe stage.

Signed-off-by: Mike Christie <mchristi@redhat.com>
We only need the log metadata for explicit alua. Implicit failover's tag
is a bogus value. This has rbd not set the metadata when it is not
valid, so the code matches the comments now.

Signed-off-by: Mike Christie <mchristi@redhat.com>
@mikechristie mikechristie merged commit 97a4efd into open-iscsi:master Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant