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
739a4519
Unverified
Commit
739a4519
authored
Feb 02, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fellow_cache: handle FCS_READfail in readahead
parent
c01411f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fellow_cache.c
src/fellow_cache.c
+2
-2
No files found.
src/fellow_cache.c
View file @
739a4519
...
@@ -4521,8 +4521,7 @@ fellow_cache_obj_readahead(
...
@@ -4521,8 +4521,7 @@ fellow_cache_obj_readahead(
/* ref all incore-ish, remember _DISK */
/* ref all incore-ish, remember _DISK */
switch (fcs->state) {
switch (fcs->state) {
case FCS_READFAIL:
case FCS_READFAIL:
INCOMPL();
goto err;
break;
case FCS_BUSY:
case FCS_BUSY:
case FCS_READING:
case FCS_READING:
case FCS_WRITING:
case FCS_WRITING:
...
@@ -4572,6 +4571,7 @@ fellow_cache_obj_readahead(
...
@@ -4572,6 +4571,7 @@ fellow_cache_obj_readahead(
}
}
ran++;
ran++;
}
}
err:
AN(FCO_REFCNT(fco));
AN(FCO_REFCNT(fco));
FCO_REFCNT(fco) += ion;
FCO_REFCNT(fco) += ion;
fellow_cache_lru_chgbatch_apply(lcb);
fellow_cache_lru_chgbatch_apply(lcb);
...
...
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