~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/store_io.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#include "MemObject.h"
4
4
#include "SwapDir.h"
5
5
 
6
 
static struct
7
 
{
 
6
static struct {
8
7
 
9
 
    struct
10
 
    {
 
8
    struct {
11
9
        int calls;
12
10
        int select_fail;
13
11
        int create_fail;
14
12
        int success;
15
 
    }
16
 
 
17
 
    create;
18
 
}
19
 
 
20
 
store_io_stats;
 
13
    } create;
 
14
} store_io_stats;
21
15
 
22
16
OBJH storeIOStats;
23
17
 
82
76
storeClose(StoreIOState::Pointer sio)
83
77
{
84
78
    if (sio->flags.closing) {
85
 
        debugs(20,3,HERE << "storeClose: flags.closing already set, bailing");
 
79
        debugs(20,3,HERE << "storeClose: flags.closing already set, bailing");
86
80
        return;
87
81
    }
88
82