Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent3
Commits
400e1bc0
Commit
400e1bc0
authored
Aug 15, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Aug 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, didn't get this bit of the #963 fix in.
parent
a3af11cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
cache_hash.c
bin/varnishd/cache_hash.c
+3
-4
No files found.
bin/varnishd/cache_hash.c
View file @
400e1bc0
...
...
@@ -490,8 +490,6 @@ hsh_rush(struct objhead *oh)
CHECK_OBJ_NOTNULL
(
oh
,
OBJHEAD_MAGIC
);
Lck_AssertHeld
(
&
oh
->
mtx
);
wl
=
oh
->
waitinglist
;
if
(
wl
==
NULL
)
return
;
CHECK_OBJ_NOTNULL
(
wl
,
WAITINGLIST_MAGIC
);
for
(
u
=
0
;
u
<
params
->
rush_exponent
;
u
++
)
{
sp
=
VTAILQ_FIRST
(
&
wl
->
list
);
...
...
@@ -632,6 +630,7 @@ HSH_Unbusy(const struct sess *sp)
AZ
(
sp
->
wrk
->
nbusyobj
);
sp
->
wrk
->
nbusyobj
=
oc
->
busyobj
;
oc
->
busyobj
=
NULL
;
if
(
oh
->
waitinglist
!=
NULL
)
hsh_rush
(
oh
);
AN
(
oc
->
ban
);
Lck_Unlock
(
&
oh
->
mtx
);
...
...
@@ -709,7 +708,7 @@ HSH_Deref(struct worker *w, struct objcore *oc, struct object **oo)
/* Must have an object */
AN
(
oc
->
methods
);
}
if
(
o
c
->
flags
&
OC_F_BUSY
)
if
(
o
h
->
waitinglist
!=
NULL
)
hsh_rush
(
oh
);
Lck_Unlock
(
&
oh
->
mtx
);
if
(
r
!=
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment