zephyr/tests/subsys
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
..
bindesc tests: bindesc: reading: Remove usage of deprecated global CSTD 2024-11-26 10:36:33 +00:00
canbus/isotp
debug python: Format trivial files where only newlines were missing 2024-11-21 20:10:51 +01:00
dfu tests: subsys: dfu: img_util: Increase stack size 2024-11-06 09:57:41 -08:00
display/cfb/basic tests: display: cfb: fix filtering 2024-11-18 07:24:12 -05:00
dsp dsp: utils: Implemented float/fixed type conversions 2024-12-17 20:55:27 +01:00
edac drivers: edac: Place API into iterable section 2024-12-03 10:16:29 +01:00
emul tests/subsys/emul: Don't test on native_posix 2024-09-25 04:04:36 -04:00
fs tests: fat: fat_fs_api reduce the wipe partition sectors 2025-01-27 13:25:31 +01:00
input tests: input/api: limit to 1 CPU for thread mode test 2024-10-08 18:17:48 +01:00
ipc ipc: icmsg & icbmsg: Add support for POSIX arch targets 2024-09-26 03:34:26 -04:00
jwt mbedtls: use CSPRNG whenever possible as PSA random source 2024-11-20 15:59:40 -05:00
llext tests: subsys: llext: filter by ram/rom size 2025-02-05 21:02:33 +01:00
logging logging: fs backend: only fs_sync when done with a batch of logs 2025-02-07 14:32:06 +01:00
lorawan tests/subsys/lorawan/frag_decoder: Change random seed 2025-01-20 20:55:48 +01:00
mem_mgmt tests/subsys/mem_mgmt: Don't test on native_posix 2024-09-25 04:04:36 -04:00
mgmt drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
modbus boards: opta: RS485 support 2024-11-20 15:59:53 -05:00
modem modem: cmux: added validation of cmux frame length 2024-11-07 08:31:48 -06:00
openthread net: openthread: radio: Fix platform radio state machine 2025-01-09 15:49:21 +01:00
pm Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
portability tests: portability: cmsis_rtos_v2: do not disable 64-bit timeouts 2024-11-26 14:46:38 +00:00
random/rng tests: random: rng: validate sys_csrand_get availability 2024-10-16 10:00:47 +02:00
rtio tests: rtio: rtio_api: explicit RTIO_SUBMIT_SEM=n 2024-12-13 11:34:34 +01:00
sd samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
secure_storage/psa tests: subsys: secure_storage: Add filter for small profile 2025-01-27 11:03:17 +01:00
sensing
settings tests: enable flash tests for s32z board 2025-01-21 19:26:45 +01:00
settings_commit_prio settings: Add test for settings commit priority 2024-10-24 22:04:07 +01:00
shell Revert "test: misc|shell: disable "zephyr,entropy" chosen property" 2024-12-12 00:15:39 +00:00
sip_svc samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
storage tests/stream_flash: Prepare for stream_flash_erase_page removal 2025-01-30 14:13:42 +01:00
testsuite/fff_fake_contexts tests: Support targeting unit_testing with and without qualifier 2024-10-25 18:51:10 +01:00
tracing/tracing_api tests/subsys/tracing: Async tracing API test fix 2025-01-23 00:13:46 +01:00
usb usb: device_next: implement blocklist for classes 2025-02-04 11:55:25 +01:00
zbus zbus: assert when inside an ISR and time out is not zero 2025-01-21 19:30:20 +01:00