Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
68e262a7
Commit
68e262a7
authored
Mar 23, 2020
by
Martin Blix Grydeland
Committed by
Dridi Boukelmoune
Jun 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Execute EXP_Insert after unbusy in HSH_Insert
This makes the order of events the same as on real cache insertions.
parent
7050ccee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cache_hash.c
bin/varnishd/cache/cache_hash.c
+2
-1
No files found.
bin/varnishd/cache/cache_hash.c
View file @
68e262a7
...
@@ -310,7 +310,6 @@ HSH_Insert(struct worker *wrk, const void *digest, struct objcore *oc,
...
@@ -310,7 +310,6 @@ HSH_Insert(struct worker *wrk, const void *digest, struct objcore *oc,
BAN_RefBan
(
oc
,
ban
);
BAN_RefBan
(
oc
,
ban
);
AN
(
oc
->
ban
);
AN
(
oc
->
ban
);
EXP_Insert
(
wrk
,
oc
);
/* Move the object first in the oh list, unbusy it and run the
/* Move the object first in the oh list, unbusy it and run the
waitinglist if necessary */
waitinglist if necessary */
...
@@ -322,6 +321,8 @@ HSH_Insert(struct worker *wrk, const void *digest, struct objcore *oc,
...
@@ -322,6 +321,8 @@ HSH_Insert(struct worker *wrk, const void *digest, struct objcore *oc,
hsh_rush1
(
wrk
,
oh
,
&
rush
,
HSH_RUSH_POLICY
);
hsh_rush1
(
wrk
,
oh
,
&
rush
,
HSH_RUSH_POLICY
);
Lck_Unlock
(
&
oh
->
mtx
);
Lck_Unlock
(
&
oh
->
mtx
);
hsh_rush2
(
wrk
,
&
rush
);
hsh_rush2
(
wrk
,
&
rush
);
EXP_Insert
(
wrk
,
oc
);
}
}
/*---------------------------------------------------------------------
/*---------------------------------------------------------------------
...
...
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