]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: do not share crypto image layers with ancestors 39044/head
authorOr Ozeri <oro@il.ibm.com>
Sun, 24 Jan 2021 07:32:44 +0000 (09:32 +0200)
committerOr Ozeri <oro@il.ibm.com>
Sun, 24 Jan 2021 07:32:44 +0000 (09:32 +0200)
commit35c1dfe40917e714ea07377b9f20fd9cb80eebee
tree848cde5e234ca674eab7183d196400772af448ed
parent29224ad49588a3fdbc8fb66e30a7f1a040172e17
librbd: do not share crypto image layers with ancestors

This commit creates a unique crypto image dispatch per image,
instead of sharing a single object with all ancestors.
This should fix a seg-fault caused when closing an encrypted cloned image.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
src/librbd/crypto/LoadRequest.cc