projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124a278
)
Actually store the block number in the thread-local
79/281679/1
author
Mateusz Majewski
<m.majewski2@samsung.com>
Tue, 20 Sep 2022 12:39:40 +0000
(14:39 +0200)
committer
Mateusz Majewski
<m.majewski2@samsung.com>
Tue, 20 Sep 2022 12:39:40 +0000
(14:39 +0200)
Change-Id: Ia5788deca19364199f397b51a9914aa63955ee9b
src/libdlog/log_zero_copy.c
patch
|
blob
|
history
diff --git
a/src/libdlog/log_zero_copy.c
b/src/libdlog/log_zero_copy.c
index
062be65
..
371c440
100644
(file)
--- a/
src/libdlog/log_zero_copy.c
+++ b/
src/libdlog/log_zero_copy.c
@@
-80,6
+80,7
@@
static inline struct zlogger_block *get_valid_block(int tid, size_t len)
int r = alloc_block(tid);
if (r <= 0)
return NULL;
+ blk = r;
return get_block((uint16_t)r);
}