Skip to content

Document caching issue with local nbd servers - #123

Merged
petrutlucian94 merged 1 commit into
cloudbase:mainfrom
petrutlucian94:document_caching_issues
May 22, 2023
Merged

petrutlucian94 merged 1 commit into
cloudbase:mainfrom
petrutlucian94:document_caching_issues

Conversation

@petrutlucian94

Copy link
Copy Markdown
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 <[email protected]>
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