]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/rock/RockIoRequests.h
2 * Copyright (C) 1996-2014 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"
22 class ReadRequest
: public ::ReadRequest
25 ReadRequest(const ::ReadRequest
&base
, const IoState::Pointer
&anSio
);
29 CBDATA_CLASS2(ReadRequest
);
33 class WriteRequest
: public ::WriteRequest
36 WriteRequest(const ::WriteRequest
&base
, const IoState::Pointer
&anSio
);
39 /// slot being written using this write request
42 /// allocated next slot (negative if we are writing the last slot)
45 /// whether this is the last request for the entry
49 CBDATA_CLASS2(WriteRequest
);
54 #endif /* SQUID_FS_ROCK_IO_REQUESTS_H */