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

Commits on Oct 22, 2015

  1. tests: reproduce crash during read-induced CoW

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    (cherry picked from commit 382219b)
    Jason Dillaman committed Oct 22, 2015
    Copy the full SHA
    991d0f0 View commit details
    Browse the repository at this point in the history
  2. 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: ceph#13559
    Backport: hammer
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    (cherry picked from commit 4692c33)
    Jason Dillaman committed Oct 22, 2015
    Copy the full SHA
    d3abcbe View commit details
    Browse the repository at this point in the history