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
fd2f7b30
Unverified
Commit
fd2f7b30
authored
Feb 03, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fellow_log: finish dskpool_mem at the right place
parent
35cb6abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
fellow_log.c
src/fellow_log.c
+6
-1
No files found.
src/fellow_log.c
View file @
fd2f7b30
...
...
@@ -2231,12 +2231,17 @@ logbuffer_take(struct fellow_logbuffer *to, struct logblk_mempool *to_mempool,
struct
fellow_logbuffer
*
from
)
{
logbuffer_wait_flush_fini
(
from
);
/* we take the dskpool to the new logbuffer, if any,
* but the dskpool_mem request belongs to the old
* logbuffer
*/
logbuffer_fini_dskpool_mem
(
from
);
*
to
=
*
from
;
to
->
mempool
=
to_mempool
;
BUDDY_POOL_INIT
(
to
->
ffpool
,
from
->
membuddy
,
FEP_MEM_LOG
,
logbuffer_fill_ffpool
,
to
);
logbuffer_fini_dskpool_mem
(
from
);
BUDDY_POOL_FINI
(
from
->
ffpool
);
memset
(
from
,
0
,
sizeof
*
from
);
...
...
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