converts DiskIO requests to IPC queue messages More...

#include <IpcIoFile.h>

Collaboration diagram for IpcIoMsg:

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)

Definition at line 689 of file IpcIoFile.cc.

References command, current_time, len, offset, page, requestId, start, tvSub(), workerPid, and xerrno.

Member Data Documentation

◆ command

◆ len

◆ offset

off_t IpcIoMsg::offset

◆ page

◆ requestId

unsigned int IpcIoMsg::requestId

◆ start

struct timeval IpcIoMsg::start

Definition at line 57 of file IpcIoFile.h.

Referenced by IpcIoMsg(), IpcIoFile::canWait(), 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

The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors