Finally after a long discussion we arrived at a simple and strong protocol for glusterfs. All the transfer between nodes will happen at low level sockets instead of initial design of FILE *. ---- snip ---- All value in bytes. '\n' is field seperator. Field:<field_length> ================== "Block Start\n":12 Type:8 Code:8 Name:32 BlockSize:32 Block:<BlockSize> "Block End\n":10 ================== ---- snip ---- Regards, Gluster Core Team.