fix bitmap_startwrite/endwrite, md ast compile error
fix compile error when building raid1.c
add Makefile to build, have minor error here
fix compile errors