zephyr/subsys/fs
Riadh Ghaddab 5c38c58f0c zms: optimize cache for settings subsystem
Settings subsystem is storing the name ID and the linked list node ID
with only one bit difference at BIT(0).
Settings subsystem is also storing the name ID and the data ID in two
different ZMS entries at an exact offset of ZMS_DATA_ID_OFFSET.
Using the regular lookup function could result in many cache misses.

Therefore, to assure the least number of collisions in the lookup cache,
the BIT(0) of the hash indicates whether the given ZMS ID represents a
linked list entry or not, the BIT(1) indicates whether the ZMS ID is a
name or data and the remaining bits of the hash are set to a truncated
part of the original hash generated by Settings.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-05-15 17:53:26 +02:00
..
ext2 fs: ext2: Fix potential integer overflow in disk access size calculation 2025-01-30 16:20:58 +01:00
fcb
nvs fs: nvs: move FLASH_PAGE_LAYOUT to depends on 2025-02-27 09:07:56 +00:00
zms zms: optimize cache for settings subsystem 2025-05-15 17:53:26 +02:00
CMakeLists.txt native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
fat_fs.c fs: enable fstab devicetree integration for fatfs 2025-03-15 13:07:40 +01:00
fs_impl.c
fs_impl.h
fs.c fs: update module logging registration 2025-03-27 03:50:22 +01:00
fuse_fs_access_bottom.c native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
fuse_fs_access_bottom.h native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
fuse_fs_access.c native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
Kconfig native FUSE FS access: Support any libC and fix random crashes 2025-03-08 15:26:29 +01:00
Kconfig.fatfs fs: enable fstab devicetree integration for fatfs 2025-03-15 13:07:40 +01:00
Kconfig.littlefs fs: allow enabling filesystems with FILE_SYSTEM_LIB_LINK 2025-01-21 15:13:05 +01:00
littlefs_fs.c fs/littlefs: Log error code on failed flash_area_open 2025-01-18 12:39:53 +01:00
shell.c fs: shell: fix maybe-uninitialized warning 2025-04-14 11:49:28 +02:00