![]() |
XRootD
|
Passthrough implementation. Convertes the ReadV requests to extents and makes the request. Does not change how the readV implementation is done, just implements a version with Extents More for functionality testing, or to allow easier access to readV statistics. More...
#include <XrdCephReadVNoOp.hh>
Public Member Functions | |
XrdCephReadVNoOp () | |
virtual | ~XrdCephReadVNoOp () |
virtual std::vector< ExtentHolder > | convert (const ExtentHolder &extentsHolderInput) override |
Take in a set of extents representing the readV requests. return a vector of each combined read request. Caller translates the readV request into a set of Extents (passed to an ExtentHolder). The logic of the specific concrete implementation combines the set of readV requests into merged requests. Output is a vector of those requests. Each ExtentHolder element holds the offset and len to be read, and also the contained extents of the readVs. The index of the readV element is not held, so the caller must ensure to match up appropriately. More... | |
![]() | |
virtual | ~IXrdCephReadVAdapter () |
Passthrough implementation. Convertes the ReadV requests to extents and makes the request. Does not change how the readV implementation is done, just implements a version with Extents More for functionality testing, or to allow easier access to readV statistics.
Definition at line 23 of file XrdCephReadVNoOp.hh.
|
inline |
Definition at line 26 of file XrdCephReadVNoOp.hh.
|
inlinevirtual |
Definition at line 27 of file XrdCephReadVNoOp.hh.
|
overridevirtual |
Take in a set of extents representing the readV requests. return a vector of each combined read request. Caller translates the readV request into a set of Extents (passed to an ExtentHolder). The logic of the specific concrete implementation combines the set of readV requests into merged requests. Output is a vector of those requests. Each ExtentHolder element holds the offset and len to be read, and also the contained extents of the readVs. The index of the readV element is not held, so the caller must ensure to match up appropriately.
extentsIn |
Implements XrdCephBuffer::IXrdCephReadVAdapter.
Definition at line 7 of file XrdCephReadVNoOp.cc.
References XrdCephBuffer::ExtentHolder::extents(), and XrdCephBuffer::ExtentHolder::push_back().