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
0a2f6c40
Unverified
Commit
0a2f6c40
authored
Jan 22, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fellow_cache: _obj_get to return latched error
parent
277e497e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
fellow_cache.c
src/fellow_cache.c
+5
-3
No files found.
src/fellow_cache.c
View file @
0a2f6c40
...
...
@@ -5722,7 +5722,8 @@ struct objcore **ocp, uintptr_t priv2, unsigned crit)
break;
case FCO_READFAIL:
fellow_cache_obj_deref(fc, fco);
return
(
FCR_IOFAIL
(
"hit READFAIL object"
));
fco_latch_err(fco, FCR_IOFAIL("hit READFAIL object"));
break;
case FCO_EVICT:
// race, retry
fellow_cache_obj_deref(fc, fco);
...
...
@@ -5731,7 +5732,7 @@ struct objcore **ocp, uintptr_t priv2, unsigned crit)
WRONG("fco state");
}
return
(
FCR_OK
(
fco
)
);
return (
fco->fcr
);
}
TAKEZN(fco, nfco);
...
...
@@ -5856,7 +5857,8 @@ struct objcore **ocp, uintptr_t priv2, unsigned crit)
if (dowry.bits)
AN(buddy_return_ptr_page(rets, &dowry));
buddy_return(rets);
return
(
FCR_OK
(
fco
));
fco->fcr = FCR_OK(fco);
return (fco->fcr);
err:
if (ocp) {
AZ(*ocp);
...
...
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