Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
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
slash
Commits
2d468a6f
Unverified
Commit
2d468a6f
authored
Sep 30, 2023
by
Nils Goroll
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assert that fco LRU state is not changed during mutation
parent
85a57e0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fellow_cache.c
src/fellow_cache.c
+2
-0
No files found.
src/fellow_cache.c
View file @
2d468a6f
...
...
@@ -1188,6 +1188,7 @@ fellow_cache_lru_chg(struct fellow_lru_chgbatch *lcb,
assert
(
add
==
fellow_cache_shouldlru
(
fcs
->
state
,
fcs
->
fco
->
oc
,
fcs
->
refcnt
));
#endif
AZ
(
fcs
->
fco_lru_mutate
);
assert
(
fcs
->
fcs_onlru
==
(
unsigned
)
!
add
);
fcs
->
fcs_onlru
=
add
;
...
...
@@ -3484,6 +3485,7 @@ fellow_cache_obj_lru_touch(struct fellow_cache_obj *fco)
assert
(
r
==
EBUSY
);
return
(
0
);
}
AZ
(
fcs
->
fco_lru_mutate
);
BUG25_CHECK
(
fcs
);
VTAILQ_REMOVE
(
&
lru
->
lru_head
,
fcs
,
lru_list
);
BUG25_CHECK
(
fcs
);
...
...
Nils Goroll
@slink
mentioned in commit
02e87731
·
Sep 30, 2023
mentioned in commit
02e87731
mentioned in commit 02e877313b4e96d5650815787895583f45443cb9
Toggle commit list
Nils Goroll
@slink
mentioned in commit
db7ccd60
·
Sep 30, 2023
mentioned in commit
db7ccd60
mentioned in commit db7ccd60de40175f90cf271387ae034efac2b77d
Toggle commit list
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