Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix by_id not free when use_host_ino=true
When use_host_ino mode is turned on, we only need to save the by_id relationship if the host inode of the file is larger than MAX_HOST_INO, and don't remove it. however, the previous code used a virtual inode combining the host inode, dev, mnt, and other parts of the file, and this inode is a 56bit inode, which is always larger than MAX_HOST_INO, and so it resulted in the by_id relationship not being cleaned up. Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
- Loading branch information