]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: move CMPEXT response munging into completion function
authorDavid Disseldorp <ddiss@suse.de>
Wed, 2 Aug 2017 19:09:03 +0000 (21:09 +0200)
committerDavid Disseldorp <ddiss@suse.de>
Thu, 3 Aug 2017 15:48:24 +0000 (17:48 +0200)
commita8ae498fc193e7fe085a7e54576cee7701ca0863
treef8ca700455921805e37b29b9b0956775ad42d04e
parentaa6b0153ef338b41b3c8c3c9857e7773643e176a
osd: move CMPEXT response munging into completion function

6f860ff8da36bd74954b5982ce4cc1741b34bcfe added functionality to munge
old (SES <= 4) cmpext requests and responses, to ensure that clients
weren't affected by the API change.
cmpext on EC support (04cf38cc159479417562da36848537ee99892d7d), added
a cmpext asynchronous completion handler which broke response munging.

This change reinstates cmpext response munging, ensuring that the munged
request state is tracked through to the completion handler.
(bsc#1047244).

Signed-off-by: David Disseldorp <ddiss@suse.de>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h