]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: update ref count when queueing AioCompletion
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Apr 2015 07:42:24 +0000 (03:42 -0400)
committerLoic Dachary <ldachary@redhat.com>
Wed, 6 May 2015 09:48:39 +0000 (11:48 +0200)
commit96b0db5decfad452964750cff92a63007433e519
treefae4df0e2202540e5bc563c9edf56468a6c6ba00
parentbc51476181429d7d95d2bba5f774d8b60c47fb1f
librbd: update ref count when queueing AioCompletion

If the client releases the AioCompletion while librbd is waiting
to acquire the exclusive lock, the memory associated with the
completion will be freed too early.

Fixes: #11478
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit fd7723a1e62e682ac5a5279231a9fd6f5682bf94)
src/librbd/ImageWatcher.cc