]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ec: add support for fast read on PGBackend/ECBackend async read
authorGuang Yang <yguang@yahoo-inc.com>
Wed, 15 Jul 2015 21:33:07 +0000 (21:33 +0000)
committerDavid Zafman <dzafman@redhat.com>
Thu, 27 Aug 2015 21:01:56 +0000 (14:01 -0700)
commit131214dc6ddeef51edf0abf7cc0e41a66baeebe1
tree8293e73e7aa46f25840d6ae04aeabdcfe68ac0dc
parent0a7c4e390b91ea0eee7a0a104ee5ab93a2ccc5ed
ec: add support for fast read on PGBackend/ECBackend async read

Extend the PGBackend::objects_read_async interface to support *fast read*,
add the implemenation for ECBackend, in which we issue redundant reads,
and use the first returned (to decode) to serve clients.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
src/osd/ECBackend.cc
src/osd/ECBackend.h
src/osd/PGBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h