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 More... | |
Public Attributes | |
| unsigned int | requestId |
| unique for requestor; matches request w/ response More... | |
| off_t | offset |
| size_t | len |
| Ipc::Mem::PageId | page |
| pid_t | workerPid |
| the process ID of the I/O requestor More... | |
| IpcIo::Command | command |
| what disker is supposed to do or did More... | |
| struct timeval | start |
| when the I/O request was converted to IpcIoMsg More... | |
| int | xerrno |
| I/O error code or zero. More... | |
Detailed Description
Definition at line 40 of file IpcIoFile.h.
Constructor & Destructor Documentation
◆ IpcIoMsg()
| IpcIoMsg::IpcIoMsg | ( | ) |
Definition at line 676 of file IpcIoFile.cc.
References start.
Member Function Documentation
◆ stat()
| void IpcIoMsg::stat | ( | std::ostream & | os | ) |
Member Data Documentation
◆ command
| IpcIo::Command IpcIoMsg::command |
Definition at line 56 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), operator<<(), IpcIoFile::push(), stat(), and IpcIoFile::WaitBeforePop().
◆ len
| 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().
◆ offset
| off_t IpcIoMsg::offset |
Definition at line 51 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), diskerRead(), diskerWriteAttempts(), IpcIoFile::push(), and stat().
◆ page
| Ipc::Mem::PageId IpcIoMsg::page |
Definition at line 53 of file IpcIoFile.h.
Referenced by diskerRead(), diskerWrite(), diskerWriteAttempts(), IpcIoFile::push(), IpcIoFile::readCompleted(), and stat().
◆ requestId
| unsigned int IpcIoMsg::requestId |
Definition at line 49 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), IpcIoFile::handleResponse(), operator<<(), IpcIoFile::push(), and stat().
◆ start
| struct timeval IpcIoMsg::start |
Definition at line 57 of file IpcIoFile.h.
Referenced by IpcIoFile::canWait(), IpcIoMsg(), IpcIoFile::push(), and stat().
◆ workerPid
| pid_t IpcIoMsg::workerPid |
Definition at line 54 of file IpcIoFile.h.
Referenced by IpcIoFile::DiskerHandleRequest(), IpcIoFile::push(), and stat().
◆ xerrno
| int IpcIoMsg::xerrno |
Definition at line 59 of file IpcIoFile.h.
Referenced by diskerRead(), diskerWriteAttempts(), IpcIoFile::readCompleted(), stat(), and IpcIoFile::writeCompleted().
The documentation for this class was generated from the following files:
- src/DiskIO/IpcIo/IpcIoFile.h
- src/DiskIO/IpcIo/IpcIoFile.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
