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

Document caching issue with local nbd servers #123

Merged

Conversation

petrutlucian94
Copy link
Member

When connecting to local NBD servers, caching has to be disabled on the nbd daemon side in order to avoid deadlocks. We'll document this and provide a qemu-storage-daemon example.

Note that this issue does not affect Ceph.

Another way to mitigate it would be to forward LUN resets to the NBD daemon and reestablish the NBD connection. This would still be less than ideal since IO would be stuck for 30s, until Storport issues a reset. It would also require some changes on the driver side (e.g. separate queue for control commands, otherwise the dispatchers might be stuck with IO operations).

When connecting to local NBD servers, caching has to be disabled
on the nbd daemon side in order to avoid deadlocks. We'll document
this and provide a qemu-storage-daemon example.

Note that this issue does not affect Ceph.

Another way to mitigate it would be to forward LUN resets to the
NBD daemon and reestablish the NBD connection. This would still
be less than ideal since IO would be stuck for 30s, until Storport
issues a reset. It would also require some changes on the driver
side (e.g. separate queue for control commands, otherwise the
dispatchers might be stuck with IO operations).

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
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