|
Squid Web Cache master
|
converts DiskIO requests to IPC queue messages More...
#include <IpcIoFile.h>
Public Member Functions | |
| IpcIoMsg () | |
| void | stat (std::ostream &) |
| prints message parameters; suitable for cache manager reports | |
Public Attributes | |
| unsigned int | requestId |
| unique for requestor; matches request w/ response | |
| off_t | offset |
| size_t | len |
| Ipc::Mem::PageId | page |
| pid_t | workerPid |
| the process ID of the I/O requestor | |
| IpcIo::Command | command |
| what disker is supposed to do or did | |
| struct timeval | start |
| when the I/O request was converted to IpcIoMsg | |
| int | xerrno |
| I/O error code or zero. | |
Definition at line 40 of file IpcIoFile.h.
| IpcIoMsg::IpcIoMsg | ( | ) |
Definition at line 676 of file IpcIoFile.cc.
References start.
| void IpcIoMsg::stat | ( | std::ostream & | os | ) |
| IpcIo::Command IpcIoMsg::command |
Definition at line 56 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), operator<<(), IpcIoFile::push(), stat(), and IpcIoFile::WaitBeforePop().
| size_t IpcIoMsg::len |
Definition at line 52 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), diskerRead(), diskerWriteAttempts(), IpcIoFile::push(), IpcIoFile::readCompleted(), stat(), and IpcIoFile::writeCompleted().
| off_t IpcIoMsg::offset |
Definition at line 51 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), diskerRead(), diskerWriteAttempts(), IpcIoFile::push(), and stat().
| Ipc::Mem::PageId IpcIoMsg::page |
Definition at line 53 of file IpcIoFile.h.
Referenced by diskerRead(), diskerWrite(), diskerWriteAttempts(), IpcIoFile::push(), IpcIoFile::readCompleted(), and stat().
| unsigned int IpcIoMsg::requestId |
Definition at line 49 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), IpcIoFile::handleResponse(), operator<<(), IpcIoFile::push(), and stat().
| struct timeval IpcIoMsg::start |
Definition at line 57 of file IpcIoFile.h.
Referenced by IpcIoMsg(), IpcIoFile::canWait(), IpcIoFile::push(), and stat().
| pid_t IpcIoMsg::workerPid |
Definition at line 54 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), IpcIoFile::push(), and stat().
| int IpcIoMsg::xerrno |
Definition at line 59 of file IpcIoFile.h.
Referenced by diskerRead(), diskerWriteAttempts(), IpcIoFile::readCompleted(), stat(), and IpcIoFile::writeCompleted().