18
17
* it under the terms of the GNU General Public License as published by
19
18
* the Free Software Foundation; either version 2 of the License, or
20
19
* (at your option) any later version.
22
21
* This program is distributed in the hope that it will be useful,
23
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
24
* GNU General Public License for more details.
27
26
* You should have received a copy of the GNU General Public License
28
27
* along with this program; if not, write to the Free Software
29
28
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
31
30
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
34
34
* Author: Adrian Chadd <adrian@squid-cache.org>
36
37
* These routines are simple plugin replacements for the file_* routines
37
38
* in disk.c . They back-end into the POSIX AIO routines to provide
38
39
* a nice and simple async IO framework for COSS.
40
42
* AIO is suitable for COSS - the only sync operations that the standard
41
43
* supports are read/write, and since COSS works on a single file
42
44
* per storedir it should work just fine.