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

librbd: potential assertion failure during cache read #6348

Merged
2 commits merged into from Oct 23, 2015

Conversation

Projects
None yet
2 participants
@dillaman
Copy link
Contributor

dillaman commented Oct 22, 2015

@dillaman dillaman added this to the hammer milestone Oct 22, 2015

dillaman added some commits Oct 21, 2015

tests: reproduce crash during read-induced CoW
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 382219b)
librbd: potential assertion failure during cache read
It's possible for a cache read from a clone to trigger a writeback if a
previous read op determined the object doesn't exist in the clone,
followed by a cached write to the non-existent clone object, followed
by another read request to the same object.  This causes the cache to
flush the pending writeback ops while not holding the owner lock.

Fixes: #13559
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4692c33)

@dillaman dillaman force-pushed the dillaman:wip-13567-hammer branch from 802cf86 to d3abcbe Oct 22, 2015

@ghost ghost self-assigned this Oct 23, 2015

ghost pushed a commit that referenced this pull request Oct 23, 2015

Loic Dachary
Merge pull request #6348 from dillaman/wip-13567-hammer
librbd: potential assertion failure during cache read

Reviewed-by: Sage Weil <sage@redhat.com>

@ghost ghost merged commit 1107f29 into ceph:hammer Oct 23, 2015

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.