ceph/src/osdc
Josh Durgin d5193460bf Objecter, librados: use only ObjectOperation form of sparse_read internally
This will be used when exposing an ObjectOperation version of sparse_read()
to the librados user, and there's no reason to duplicate code for creating
and handling it. Add a wrapper Context for handling the lifecycle of the
::ObjectOperation.

This cleans up the synchronous version of sparse_read quite a bit by
using the general operate_read() instead of duplicating decoding and
a bunch of sync boilerplate.

Move handling the decoding of a sparse_read into the Objecter, with
the rest of the decoding of rados operations. librados shouldn't be
the only user of the Objecter that can understand sparse_reads.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-12 19:31:22 -07:00
..
Blinker.h
Filer.cc osdc/Filer.cc: prefer prefix ++operator for iterators 2013-03-18 12:35:37 +01:00
Filer.h osdc/Filer.h: prefer prefix ++operator for iterators 2013-03-18 12:35:37 +01:00
Journaler.cc journaler: remove the unused prefetch_from member variable 2013-04-08 14:09:23 -07:00
Journaler.h journaler: remove the unused prefetch_from member variable 2013-04-08 14:09:23 -07:00
ObjectCacher.cc ObjectCacher: wait for all reads when stopping flusher 2013-04-30 13:47:47 -07:00
ObjectCacher.h ObjectCacher: wait for all reads when stopping flusher 2013-04-30 13:47:47 -07:00
Objecter.cc Objecter: fix error handling for decoding stat 2013-05-12 19:26:19 -07:00
Objecter.h Objecter, librados: use only ObjectOperation form of sparse_read internally 2013-05-12 19:31:22 -07:00
Striper.cc osdc/Striper.cc: prefer prefix ++operator for iterators 2013-03-18 12:35:37 +01:00
Striper.h striper: expose method that works directrly from a map<> 2012-10-15 15:34:07 -07:00
WritebackHandler.h WritebackHandler: make read return nothing 2013-04-10 12:03:04 -07:00