RockIoRequests.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_FS_ROCK_IO_REQUESTS_H
10 #define SQUID_FS_ROCK_IO_REQUESTS_H
11 
12 #include "DiskIO/ReadRequest.h"
13 #include "DiskIO/WriteRequest.h"
14 #include "fs/rock/RockIoState.h"
15 
16 class DiskFile;
17 
18 namespace Rock
19 {
20 
22 {
24 
25 public:
26  ReadRequest(const ::ReadRequest &base, const IoState::Pointer &anSio);
28 };
29 
31 {
33 
34 public:
35  WriteRequest(const ::WriteRequest &base, const IoState::Pointer &anSio);
37 
40 
43 
45  bool eof;
46 };
47 
48 } // namespace Rock
49 
50 #endif /* SQUID_FS_ROCK_IO_REQUESTS_H */
51 
IoState::Pointer sio
bool eof
whether this is the last request for the entry
CBDATA_CLASS(WriteRequest)
sfileno SlotId
db cell number, starting with cell 0 (always occupied by the db header)
Definition: forward.h:30
WriteRequest(const ::WriteRequest &base, const IoState::Pointer &anSio)
CBDATA_CLASS(ReadRequest)
SlotId sidCurrent
slot being written using this write request
IoState::Pointer sio
SlotId sidNext
allocated next slot (negative if we are writing the last slot)
ReadRequest(const ::ReadRequest &base, const IoState::Pointer &anSio)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors