]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: call read completion even when no target buffer
authorSage Weil <sage@inktank.com>
Fri, 28 Mar 2014 19:34:07 +0000 (12:34 -0700)
committerSage Weil <sage@inktank.com>
Fri, 28 Mar 2014 21:55:09 +0000 (14:55 -0700)
commit032d4ec53e125ad91ad27ce58da6f38dcf1da92e
tree27ce0a149e031022fbc5a6b953d72a3c58252c5b
parentc166215d81fc143b4226a87dc1ee051ce669a9a9
osdc/ObjectCacher: call read completion even when no target buffer

If we do no assemble a target bl, we still want to return a valid return
code with the number of bytes read-ahead so that the C_RetryRead completion
will see this as a finish and call the caller's provided Context.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osdc/ObjectCacher.cc