]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/rock/RockIoRequests.h
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_FS_ROCK_IO_REQUESTS_H
10 #define SQUID_FS_ROCK_IO_REQUESTS_H
12 #include "DiskIO/ReadRequest.h"
13 #include "DiskIO/WriteRequest.h"
14 #include "fs/rock/RockIoState.h"
21 class ReadRequest
: public ::ReadRequest
23 CBDATA_CLASS(ReadRequest
);
26 ReadRequest(const ::ReadRequest
&base
, const IoState::Pointer
&anSio
);
30 class WriteRequest
: public ::WriteRequest
32 CBDATA_CLASS(WriteRequest
);
35 WriteRequest(const ::WriteRequest
&base
, const IoState::Pointer
&anSio
);
38 /// slot being written using this write request
41 /// allocated next slot (negative if we are writing the last slot)
44 /// whether this is the last request for the entry
50 #endif /* SQUID_FS_ROCK_IO_REQUESTS_H */