]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: better handling for duplicate flatten requests 4423/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 21 Apr 2015 16:59:33 +0000 (12:59 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 21 Apr 2015 17:02:29 +0000 (13:02 -0400)
commitef7e210c3f747bc4c3c8768c7b6407cc91c5c319
treeb06c6f830c7d3a391b2f324bd799ae0dce36c88d
parent008b151958ce9b7574d06daa04f82dd00448a200
librbd: better handling for duplicate flatten requests

A proxied flatten request could be replayed, resulting in a
-EINVAL error code being generated on the second attempt. Filter
out that error if it is known the parent did exist before the
op started.

Fixes: #11370
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc