![]() |
XRootD
|
#include <XrdXrootdAioPgrw.hh>
Public Member Functions | |
XrdXrootdAioPgrw (XrdXrootdAioTask *tP, XrdBuffer *bP) | |
~XrdXrootdAioPgrw () | |
struct iovec * | iov4Data (int &iovNum) |
struct iovec * | iov4Recv (int &iovNum) |
struct iovec * | iov4Send (int &iovNum, int &iovLen, bool cs2net=false) |
bool | noChkSums (bool reset=true) |
void | Recycle () override |
int | Setup2Recv (off_t offs, int dlen, const char *&eMsg) |
int | Setup2Send (off_t offs, int dlen, const char *&eMsg) |
![]() | |
XrdXrootdAioBuff (XrdXrootdAioPgrw *pgrwP, XrdXrootdAioTask *tP, XrdBuffer *bP) | |
XrdXrootdAioBuff (XrdXrootdAioTask *tP, XrdBuffer *bP) | |
void | doneRead () override |
void | doneWrite () override |
![]() | |
XrdSfsAio () | |
virtual | ~XrdSfsAio () |
Static Public Member Functions | |
static XrdXrootdAioPgrw * | Alloc (XrdXrootdAioTask *arp) |
![]() | |
static XrdXrootdAioBuff * | Alloc (XrdXrootdAioTask *arp) |
Static Public Attributes | |
static const int | acsSZ = aioSZ/XrdProto::kXR_pgPageSZ |
static const int | aioSZ = XrdXrootdPgrwAio::aioSZ |
Additional Inherited Members | |
![]() | |
XrdXrootdAioBuff * | next |
XrdXrootdAioPgrw *const | pgrwP |
![]() | |
uint32_t * | cksVec |
ssize_t | Result |
struct aiocb | sfsAio |
const char * | TIdent |
![]() | |
XrdBuffer * | buffP |
XrdXrootdAioTask * | reqP |
![]() | |
static const char * | TraceID = "AioBuff" |
Definition at line 47 of file XrdXrootdAioPgrw.hh.
XrdXrootdAioPgrw::XrdXrootdAioPgrw | ( | XrdXrootdAioTask * | tP, |
XrdBuffer * | bP | ||
) |
Definition at line 80 of file XrdXrootdAioPgrw.cc.
References acsSZ, XrdBuffer::buff, XrdSfsAio::cksVec, XrdProto::kXR_pgPageSZ, XrdSfsAio::Result, and XrdSfsAio::TIdent.
Referenced by Alloc().
XrdXrootdAioPgrw::~XrdXrootdAioPgrw | ( | ) |
Definition at line 109 of file XrdXrootdAioPgrw.cc.
References XrdXrootd::BPool, XrdXrootdAioBuff::buffP, and XrdBuffManager::Release().
|
static |
Definition at line 120 of file XrdXrootdAioPgrw.cc.
References XrdXrootdAioPgrw(), aioSZ, XrdXrootdProtocol::aioUpdate(), XrdXrootd::BPool, XrdSfsAio::cksVec, XrdXrootdAioBuff::next, XrdBuffManager::Obtain(), XrdXrootdAioBuff::pgrwP, XrdXrootdAioBuff::reqP, XrdSfsAio::Result, and XrdXrootdAioTask::urProtocol().
|
inline |
Definition at line 54 of file XrdXrootdAioPgrw.hh.
struct iovec * XrdXrootdAioPgrw::iov4Recv | ( | int & | iovNum | ) |
Definition at line 158 of file XrdXrootdAioPgrw.cc.
References acsSZ, aiocb::aio_nbytes, aiocb::aio_offset, aioSZ, XrdOucPgrwUtils::csNum(), XrdProto::kXR_pgPageSZ, and XrdSfsAio::sfsAio.
struct iovec * XrdXrootdAioPgrw::iov4Send | ( | int & | iovNum, |
int & | iovLen, | ||
bool | cs2net = false |
||
) |
Definition at line 183 of file XrdXrootdAioPgrw.cc.
References aiocb::aio_offset, XrdOucPgrwUtils::csNum(), XrdProto::kXR_pgPageSZ, XrdSfsAio::Result, and XrdSfsAio::sfsAio.
|
inline |
Definition at line 60 of file XrdXrootdAioPgrw.hh.
References XrdSfsAio::cksVec.
|
overridevirtual |
Reimplemented from XrdXrootdAioBuff.
Definition at line 213 of file XrdXrootdAioPgrw.cc.
References aiocb::aio_nbytes, aiocb::aio_offset, XrdXrootdProtocol::aioUpdate(), XrdXrootdAioBuff::next, XrdXrootdAioBuff::reqP, XrdSfsAio::sfsAio, TRACE, and XrdXrootdAioTask::urProtocol().
int XrdXrootdAioPgrw::Setup2Recv | ( | off_t | offs, |
int | dlen, | ||
const char *& | eMsg | ||
) |
Definition at line 242 of file XrdXrootdAioPgrw.cc.
References aiocb::aio_buf, aiocb::aio_nbytes, aiocb::aio_offset, aioSZ, XrdOucPgrwUtils::Layout::bOffset, XrdBuffer::buff, XrdXrootdAioBuff::buffP, XrdOucPgrwUtils::Layout::dataLen, eMsg, XrdOucPgrwUtils::Layout::eWhy, XrdOucPgrwUtils::Layout::fLen, XrdProto::kXR_pgPageSZ, XrdOucPgrwUtils::Layout::lLen, XrdOucPgrwUtils::recvLayout(), XrdSfsAio::sfsAio, and XrdOucPgrwUtils::Layout::sockLen.
int XrdXrootdAioPgrw::Setup2Send | ( | off_t | offs, |
int | dlen, | ||
const char *& | eMsg | ||
) |
Definition at line 285 of file XrdXrootdAioPgrw.cc.
References aiocb::aio_buf, aiocb::aio_nbytes, aiocb::aio_offset, aioSZ, XrdOucPgrwUtils::Layout::bOffset, XrdBuffer::buff, XrdXrootdAioBuff::buffP, XrdOucPgrwUtils::Layout::dataLen, eMsg, XrdOucPgrwUtils::Layout::eWhy, XrdOucPgrwUtils::Layout::fLen, XrdProto::kXR_pgPageSZ, XrdOucPgrwUtils::Layout::lLen, XrdOucPgrwUtils::sendLayout(), and XrdSfsAio::sfsAio.
|
static |
Definition at line 76 of file XrdXrootdAioPgrw.hh.
Referenced by XrdXrootdAioPgrw(), and iov4Recv().
|
static |
Definition at line 75 of file XrdXrootdAioPgrw.hh.
Referenced by Alloc(), iov4Recv(), Setup2Recv(), and Setup2Send().