message related part

changed the spin lock protection in raid1_sendd according to  BoYang's suggestion(Thank you!)
rewrite the message protocol.