mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2025-12-17 08:45:06 -06:00
Remove -read-whole-file flag and decide read-ahead behavior based on storage class: always read ahead for HDD, never for FLASH. Only issue fadvise syscall when reading ahead to save unnecessary syscalls for FLASH storage. Fixes #47 Co-authored-by: mcrnic <miroslav.crnic@xtxmarkets.com>