]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: discard after write can result in assertion failure 11644/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 25 Oct 2016 13:43:06 +0000 (09:43 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 26 Oct 2016 17:19:53 +0000 (13:19 -0400)
commit4cb83c14dbe09d4b371f7b728d9b5c0549e59f1a
tree4e06d17976201e4ea0a43e4c977c7ff743630d90
parent3ccc17b81d2794406d803ff4210e930a1fa67455
librbd: discard after write can result in assertion failure

With journaling enabled, the proper lock is not held when handling
a discard after write to overlapping extents. This issue is only present
on the jewel branch due to design changes on the master branch.

Fixes: http://tracker.ceph.com/issues/17695
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioImageRequest.cc
src/test/librbd/test_librbd.cc