Skip to content

add several changes, see commit message.#314

Merged
deemar merged 4 commits into
HardySimpson:masterfrom
sheeaza:master
Dec 8, 2025
Merged

add several changes, see commit message.#314
deemar merged 4 commits into
HardySimpson:masterfrom
sheeaza:master

Conversation

@sheeaza

@sheeaza sheeaza commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

1. fix fsync_count thread safety issue by using atomic
2. add asan to test codes
3. add return value check in test.sh
4. add reload_file_num check in test/test_dzlog_conf.c to prevent % 0
   operation
5. add test_multi_thread_reload and reduce the test timing

Signed-off-by: sheeaza <winsdenny@outlook.com>
merge compile option setting

Signed-off-by: sheeaza <winsdenny@outlook.com>
let consumer handle msg when there is submitted, instead of wait for
signal send every time. take the advantage of single in/out lockfree
fifo

misc:
    remove the printf to prevent tsan error
    add test_multi_thread_ftrue to test file outputs contents correnct
    add github action asan test for clang, gcc needs ld_preload to asan
        so, the path may vary for diff distro, so disable gcc asan.

Signed-off-by: sheeaza <winsdenny@outlook.com>
struct msg_head related are specific to fifo
so move them to fifo.h

Signed-off-by: sheeaza <winsdenny@outlook.com>
@deemar deemar merged commit 7b65f06 into HardySimpson:master Dec 8, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants