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
a294a4da
Unverified
Commit
a294a4da
authored
Jul 19, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fellow_cache: refactor struct fellow_cache_seg
parent
8a6ab47f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
fellow_cache.c
src/fellow_cache.c
+3
-2
No files found.
src/fellow_cache.c
View file @
a294a4da
...
...
@@ -351,7 +351,7 @@ SEGLIST_FIT_FUNC(disk)
struct fellow_cache_obj;
struct fellow_cache_seg {
uint16_t magic;
#define FELLOW_CACHE_SEG_MAGIC 0x627
8
#define FELLOW_CACHE_SEG_MAGIC 0x627
9
enum fcos_state state;
unsigned fcs_onlru:1;
unsigned fco_infdb:1;
...
...
@@ -373,8 +373,9 @@ struct fellow_cache_seg {
VTAILQ_ENTRY(fellow_cache_seg) lru_list;
struct fellow_cache_obj *fco;
struct
fellow_disk_seg
*
disk_seg
;
struct buddy_ptr_extent alloc;
struct fellow_disk_seg *disk_seg;
union {
size_t fcs_len; // FCS_* used size
struct fellow_disk_obj *fco_fdo; // FCO_* ptr to fdo
...
...
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