DiskThreadsDiskFile.h
Go to the documentation of this file.
75 IoResult(RefCount<DiskThreadsDiskFile> aFile, RefCount<RT> aRequest) : file(aFile), request(aRequest) {}
83IOResult(RefCount<RT> aRequest, RefCount<DiskThreadsDiskFile> aFile) { return IoResult<RT>(aFile, aRequest);}
IoResult< RT > IOResult(RefCount< RT > aRequest, RefCount< DiskThreadsDiskFile > aFile)
Definition: DiskThreadsDiskFile.h:83
void AIOCB(int fd, void *cbdata, const char *buf, int aio_return, int aio_errno)
Definition: DiskThreads.h:57
Definition: DiskFile.h:22
Definition: DiskThreadsDiskFile.h:20
void openDone(int fd, const char *buf, int aio_return, int aio_errno)
Definition: DiskThreadsDiskFile.cc:138
bool ioInProgress() const override
Definition: DiskThreadsDiskFile.cc:228
void create(int flags, mode_t mode, RefCount< IORequestor > callback) override
Definition: DiskThreadsDiskFile.cc:93
void writeDone(int fd, int errflag, size_t len, RefCount< WriteRequest > request)
Definition: DiskThreadsDiskFile.cc:300
~DiskThreadsDiskFile() override
Definition: DiskThreadsDiskFile.cc:37
void open(int flags, mode_t mode, RefCount< IORequestor > callback) override
Definition: DiskThreadsDiskFile.cc:44
CBDATA_CLASS(DiskThreadsDiskFile)
DiskThreadsDiskFile(char const *path)
Definition: DiskThreadsDiskFile.cc:30
void readDone(int fd, const char *buf, int len, int errflag, RefCount< ReadRequest > request)
Definition: DiskThreadsDiskFile.cc:250
RefCount< IORequestor > ioRequestor
Definition: DiskThreadsDiskFile.h:60
Definition: DiskThreadsDiskFile.h:71
CBDATA_CLASS(IoResult)
IoResult(RefCount< DiskThreadsDiskFile > aFile, RefCount< RT > aRequest)
Definition: DiskThreadsDiskFile.h:75
Definition: ReadRequest.h:16
Definition: WriteRequest.h:17