add inode structure and cache