Add new raid_check() and raid_scan() functions

They are aimed to find the broken blocks using the extra
redundancy information.
This commit is contained in:
Andrea Mazzoleni 2015-03-21 17:03:55 +01:00
parent b0891290eb
commit 7bdee2c1d9
4 changed files with 130 additions and 2 deletions

View file

@ -24,7 +24,7 @@ CFLAGS += -O2
else
CFLAGS += -O0 --coverage -DCOVERAGE=1 -DNDEBUG=1
endif
OBJS = raid.o int.o intz.o x86.o x86z.o tables.o memory.o test.o helper.o module.o tag.o
OBJS = raid.o check.o int.o intz.o x86.o x86z.o tables.o memory.o test.o helper.o module.o tag.o
%.o: ../%.c
$(CC) $(CFLAGS) -c -o $@ $<