mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-01-06 11:00:10 -06:00
Initial version really by Pawel, but many changes in between. Big outstanding issues: * span cache reclamation (unbounded memory otherwise...) * bad block service detection and workarounds * corrupted blocks detection and workaround Co-authored-by: Paweł Dziepak <pawel.dziepak@xtxmarkets.com>
567 B
567 B
To get a compile_commands.json:
- Call the kmod source dir (where this file is located)
$KMOD_DIR - Download some version of the linux source (I used
linux-5.4.237to be in line with Ubuntu 20.20), say$LINUX_DIR cd $LINUX_DIR && make LLVM=1 defconfig && make LLVM=1 -jcd $KMOD_DIR && make KDIR=$LINUX_DIR LLVM=1 kmod$LINUX_DIR/scripts/gen_compile_commands.py -d $KMOD_DIRto generatecompile_commands.json- Replace all occurrences of
"directory": $KMOD_DIRwith"directory": $LINUX_DIRin the generated$KMOD_DIR/compile_commands.json