forked from:http://code.google.com/p/weed-fs/