Merge pull request #5 from thesues/master

fix warnings,Add handler for metadata update from boyang
adapt to build service
add a while loop in raid1_sendd
bmp->used already set in ast of bitmap_lock_sync(), that is bitmap_ast()
at last it should release the CR lock on ack instead of message according to the protocol change
debug: set the length of each resource
update doc/message-update.txt
Merge pull request #8 from ldzhong/master

add while loop in raid1_sendd
modify spin_lock in raid1_sendd
finish debug on message passing part
add tdd directory for TDD testing
Merge pull request #9 from ldzhong/master

debug on message passing part
Merge remote branch 'upstream/master'