AIODiskFile.cc File Reference
#include "squid.h"
#include "debug/Stream.h"
#include "DiskIO/AIO/AIODiskFile.h"
#include "DiskIO/AIO/AIODiskIOStrategy.h"
#include "DiskIO/IORequestor.h"
#include "DiskIO/ReadRequest.h"
#include "DiskIO/WriteRequest.h"
#include "fs_io.h"
#include "globals.h"
#include <cerrno>
Include dependency graph for AIODiskFile.cc:
Go to the source code of this file.
Functions | |
CBDATA_CLASS_INIT (AIODiskFile) | |
Function Documentation
◆ CBDATA_CLASS_INIT()
CBDATA_CLASS_INIT | ( | AIODiskFile | ) |
- These routines are simple plugin replacements for the file_* routines in disk.c . They back-end into the POSIX AIO routines to provide a nice and simple async IO framework for COSS.
- AIO is suitable for COSS - the only sync operations that the standard supports are read/write, and since COSS works on a single file per storedir it should work just fine.