#include <RockIoRequests.h>
Public Types | |
typedef RefCount< WriteRequest > | Pointer |
Public Member Functions | |
WriteRequest (const ::WriteRequest &, const IoState::Pointer &, const IoXactionId) | |
Public Attributes | |
IoState::Pointer | sio |
SlotId | sidPrevious |
slot that will point to sidCurrent in the cache_dir map More... | |
SlotId | sidCurrent |
slot being written using this write request More... | |
IoXactionId | id |
identifies this write transaction for the requesting IoState More... | |
bool | eof |
whether this is the last request for the entry More... | |
char const * | buf |
off_t | offset |
size_t | len |
FREE * | free_func |
Private Member Functions | |
CBDATA_CLASS (WriteRequest) | |
Detailed Description
Definition at line 34 of file RockIoRequests.h.
Member Typedef Documentation
◆ Pointer
|
inherited |
Definition at line 21 of file WriteRequest.h.
Constructor & Destructor Documentation
◆ WriteRequest()
WriteRequest::WriteRequest | ( | const ::WriteRequest & | base, |
const IoState::Pointer & | anSio, | ||
const IoXactionId | anId | ||
) |
Definition at line 24 of file RockIoRequests.cc.
Member Function Documentation
◆ CBDATA_CLASS()
|
private |
Member Data Documentation
◆ buf
|
inherited |
Definition at line 25 of file WriteRequest.h.
Referenced by IpcIoFile::push(), BlockingFile::write(), DiskdFile::write(), DiskThreadsDiskFile::write(), MmappedFile::write(), and IpcIoFile::writeCompleted().
◆ eof
bool Rock::WriteRequest::eof |
Definition at line 54 of file RockIoRequests.h.
Referenced by Rock::SwapDir::handleWriteCompletionSuccess(), Rock::SwapDir::writeCompleted(), and Rock::IoState::writeToDisk().
◆ free_func
|
inherited |
Definition at line 28 of file WriteRequest.h.
Referenced by BlockingFile::write(), DiskdFile::write(), DiskThreadsDiskFile::write(), MmappedFile::write(), and IpcIoFile::writeCompleted().
◆ id
IoXactionId Rock::WriteRequest::id |
Definition at line 51 of file RockIoRequests.h.
Referenced by Rock::SwapDir::writeCompleted().
◆ len
|
inherited |
Definition at line 27 of file WriteRequest.h.
Referenced by Rock::SwapDir::handleWriteCompletionSuccess(), IpcIoFile::push(), BlockingFile::write(), DiskdFile::write(), DiskThreadsDiskFile::write(), IpcIoFile::write(), MmappedFile::write(), Rock::SwapDir::writeCompleted(), and IpcIoFile::writeCompleted().
◆ offset
|
inherited |
Definition at line 26 of file WriteRequest.h.
Referenced by IpcIoFile::push(), BlockingFile::write(), DiskdFile::write(), DiskThreadsDiskFile::write(), IpcIoFile::write(), MmappedFile::write(), and IpcIoFile::writeCompleted().
◆ sidCurrent
SlotId Rock::WriteRequest::sidCurrent |
Definition at line 48 of file RockIoRequests.h.
Referenced by Rock::SwapDir::handleWriteCompletionProblem(), Rock::SwapDir::handleWriteCompletionSuccess(), Rock::SwapDir::writeCompleted(), and Rock::IoState::writeToDisk().
◆ sidPrevious
SlotId Rock::WriteRequest::sidPrevious |
Definition at line 45 of file RockIoRequests.h.
Referenced by Rock::SwapDir::handleWriteCompletionSuccess(), and Rock::IoState::writeToDisk().
◆ sio
IoState::Pointer Rock::WriteRequest::sio |
Definition at line 40 of file RockIoRequests.h.
Referenced by Rock::SwapDir::handleWriteCompletionProblem(), Rock::SwapDir::handleWriteCompletionSuccess(), and Rock::SwapDir::writeCompleted().
The documentation for this class was generated from the following files:
- src/fs/rock/RockIoRequests.h
- src/fs/rock/RockIoRequests.cc