CONFIG_FS_LITTLEFS_LOOKAHEAD_SIZE

Size of lookahead buffer in bytes

Type: int

Help

A larger lookahead buffer increases the number of blocks found during an allocation pass. The lookahead buffer is stored as a compact bitmap, so each byte of RAM can track 8 blocks. Must be a multiple of 8.

Direct dependencies

FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At subsys/fs/Kconfig.littlefs:43

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:16subsys/fs/Kconfig:142

Menu path: (Top) → File Systems → File system support → LittleFS Settings

config FS_LITTLEFS_LOOKAHEAD_SIZE
    int "Size of lookahead buffer in bytes" if FILE_SYSTEM_LITTLEFS
    default 32
    depends on FILE_SYSTEM
    help
      A larger lookahead buffer increases the number of blocks found
      during an allocation pass. The lookahead buffer is stored as a
      compact bitmap, so each byte of RAM can track 8 blocks. Must
      be a multiple of 8.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)