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
90a80e1f
Unverified
Commit
90a80e1f
authored
Sep 13, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run LRU during fellow_cache_test
parent
b21b5681
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
fellow_cache.c
src/fellow_cache.c
+8
-12
No files found.
src/fellow_cache.c
View file @
90a80e1f
...
...
@@ -2973,8 +2973,6 @@ fellow_cache_async_thread(void *priv)
return
(
NULL
);
}
// XXX better way
#ifndef TEST_DRIVER
static
inline
void
fellow_cache_seg_evict_locked
(
struct
fellow_cache_seg
*
fcs
,
struct
buddy_ptr_extent
*
alloc
)
...
...
@@ -3350,7 +3348,6 @@ fellow_cache_lru_thread(struct worker *wrk, void *priv)
free
(
r
);
return
(
NULL
);
}
#endif // TEST_DRIVER
/* returns if moved */
int
...
...
@@ -5103,21 +5100,20 @@ fellow_cache_fini(struct fellow_cache **fcp)
#include "vsha256.h"
#include "fellow_testenv.h"
void
stvfe_sumstat
(
struct
worker
*
wrk
)
{
(
void
)
wrk
;
}
int
stvfe_mutate
(
struct
worker
*
wrk
,
struct
fellow_cache_lru
*
lru
,
struct
objcore
*
oc
)
{
WRONG
(
"
no lru during test
"
);
return
(
1
);
WRONG
(
"
fellow_cache_test objects to not have an objcore
"
);
return
(
0
);
}
static
void
*
fellow_cache_lru_thread
(
struct
worker
*
wrk
,
void
*
priv
)
{
(
void
)
wrk
;
(
void
)
priv
;
return
(
NULL
);
}
#ifdef DEBUG
const
char
*
const
filename
=
"/tmp/fellowfile.cachetest"
;
#else
...
...
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