zephyr/tests
Kamil Krzyzanowski 41f2c64e97 logging: fs backend: only fs_sync when done with a batch of logs
The previous behavior was to call `fs_sync` on the file after every log
item written. In many cases, log messages come in bursts, and `log_core`
already operates in batches, configurable using
`CONFIG_LOG_PROCESS_THREAD_SLEEP_MS` and
`CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD`. Once the batch is done, the
backends get notified with `LOG_BACKEND_EVT_PROCESS_THREAD_DONE` if any
logs were processed. This is a nice time to `fs_sync` the written changes.

This change both speeds up the time spent writing logs and reduces the
amount of block erases done on the flash, as the previous implementation
erased blocks after each individual log message.

Signed-off-by: Kamil Krzyzanowski <kamnxt@kamnxt.com>
2025-02-07 14:32:06 +01:00
..
application_development tests: application_development: Add spdx SBOM test 2025-01-15 15:03:59 +01:00
arch tests: arm_irq_vector_table: Disable bellboard for nRF54/nRF92 2025-01-22 13:43:47 +01:00
benchmarks tests: Fix thread_metric message processing 2025-02-05 01:12:52 +01:00
bluetooth Tests: Bluetooth: Add hci_ipc config to Twister integration 2025-02-06 14:46:02 +01:00
boards tests: boards: nordic: add nrf comp tests. 2025-02-05 12:24:59 +01:00
boot tests: boot: mcuboot_recovery_retention: Fix testcase 2024-12-29 05:59:37 +01:00
bsim samples: Bluetooth: GATT write commands with connection PHY Update 2025-02-05 08:16:30 +01:00
cmake tests: yaml: add test for generator expressions 2025-01-30 14:10:53 +01:00
crypto mbedtls: add Kconfig to select the number of key slot in PSA Crypto core 2024-11-26 00:12:56 +01:00
ctest/base tests: Add CTest base harness testing 2025-01-10 04:12:42 +01:00
drivers tests : clock_control: clean "STM32_SRC_SYSCLK" 2025-02-07 10:25:52 +01:00
integration/kernel
kconfig
kernel tests: kernel: Don't use VLA in pipe_api test. 2025-02-05 14:57:49 +01:00
lib devicetree: Fix Device tree tests cannot be built with coverage enabled 2025-01-22 15:49:25 +01:00
misc tests: linker: iterable_sections: Test sorting with 5 numeric characters 2025-01-22 10:40:45 +01:00
modules tests: modules: nanopb: Test on Big Endian platform 2024-12-19 15:20:11 +01:00
net tests: net: socket: Fix -Wsometimes-uninitialized warning 2025-02-07 02:23:24 +01:00
posix tests: posix: timers: Fix -Wsometimes-uninitialized warning 2025-02-07 02:23:35 +01:00
robot
subsys logging: fs backend: only fs_sync when done with a batch of logs 2025-02-07 14:32:06 +01:00
unit tests: fix various unit tests warnings 2024-12-16 20:48:56 +01:00
ztest Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
test_config.yaml