From fd1da602d77a812c15db8113960517ac99f5f6f7 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Sun, 14 May 2017 12:01:45 -0500 Subject: Added support for handling corrupted blocks This provides a limited form of wear leveling. While wear is not actually balanced across blocks, the filesystem can recover from corrupted blocks and extend the lifetime of a device nearly as much as dynamic wear leveling. For use-cases where wear is important, it would be better to use a full form of dynamic wear-leveling at the block level. (or consider a logging filesystem). Corrupted block handling was simply added on top of the existing logic in place for the filesystem, so it's a bit more noodly than it may have to be, but it gets the work done. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 10afda9..2c9e8bf 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ size: $(OBJ) .SUFFIXES: test: test_format test_dirs test_files test_seek test_parallel \ - test_alloc test_paths test_orphan + test_alloc test_paths test_orphan test_corrupt test_%: tests/test_%.sh ./$< -- cgit v1.2.3