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
565503af
Unverified
Commit
565503af
authored
Aug 02, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace
parent
0a6d1120
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fellow_cache.c
src/fellow_cache.c
+5
-5
No files found.
src/fellow_cache.c
View file @
565503af
...
...
@@ -313,9 +313,9 @@ struct fellow_cache_seg {
unsigned
refcnt
;
VTAILQ_ENTRY
(
fellow_cache_seg
)
lru_list
;
struct
fellow_cache_obj
*
fco
;
struct
fellow_cache_obj
*
fco
;
struct
fellow_disk_seg
*
disk_seg
;
struct
buddy_ptr_extent
alloc
;
struct
buddy_ptr_extent
alloc
;
size_t
len
;
// used size
};
...
...
@@ -561,13 +561,13 @@ struct fellow_cache_obj {
unsigned
magic
;
#define FELLOW_CACHE_OBJ_MAGIC 0x837d555f
// protected by fco mtx (in fcs)
enum
fcol_state
logstate
;
enum
fcol_state
logstate
;
struct
fellow_cache_lru
*
lru
;
struct
buddy_ptr_page
fco_mem
;
// nil == embedded
pthread_mutex_t
mtx
;
pthread_mutex_t
mtx
;
pthread_cond_t
cond
;
// signal ready
struct
objcore
*
oc
;
...
...
@@ -636,7 +636,7 @@ struct fellow_busy_io {
struct
fellow_busy
*
fbo
;
union
{
// for FBIO_SEG
struct
fellow_cache_seg
*
fcs
;
struct
fellow_cache_seg
*
fcs
;
// for FBIO_SEGLIST
struct
fellow_busy_io_seglist
seglist
;
}
u
;
...
...
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