finish inode allocation and callback
finished basic block allocate and  callback but without modular test