async_io.cc File Reference
#include "squid.h"
#include "DiskThreads.h"
#include "DiskThreadsIOStrategy.h"
#include "fde.h"
#include "Generic.h"
#include "Store.h"
Include dependency graph for async_io.cc:

Go to the source code of this file.

Classes

struct  squidaio_unlinkq_t
 

Typedefs

typedef struct squidaio_unlinkq_t squidaio_unlinkq_t
 

Functions

void aioOpen (const char *path, int oflag, mode_t mode, AIOCB *callback, void *callback_data)
 
void aioClose (int fd)
 
void aioCancel (int fd)
 
void aioWrite (int fd, off_t offset, char *bufp, size_t len, AIOCB *callback, void *callback_data, FREE *free_func)
 
void aioRead (int fd, off_t offset, size_t len, AIOCB *callback, void *callback_data)
 
void aioStat (char *path, struct stat *sb, AIOCB *callback, void *callback_data)
 
void aioUnlink (const char *path, AIOCB *callback, void *callback_data)
 
int aioQueueSize (void)
 

Variables

AIOCounts squidaio_counts
 
dlink_list used_list
 

Typedef Documentation

Function Documentation

int aioQueueSize ( void  )

Definition at line 199 of file async_io.cc.

Referenced by DiskThreadsIOStrategy::load(), and DiskThreadsIOStrategy::shedLoad().

Variable Documentation

AIOCounts squidaio_counts

Definition at line 18 of file async_io.cc.

Referenced by DiskThreadsIOStrategy::aioStats(), and DiskThreadsIOStrategy::callback().

dlink_list used_list

Definition at line 26 of file async_io.cc.

Referenced by DiskThreadsIOStrategy::callback().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors