-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in_tail: use inode for key of TailWatchers
Regardless of `follow_inodes`, both path or inode is acceptable for the key of `tails`. (It is not wrong that the current logic uses `path` for the key) However, using inode for the key would make it possible to sovle some problems in the future. Note: perhaps we don't need to use different keys depending on `follow_inodes`. Perhaps we should always use inode for the key. (Future work) Signed-off-by: Katuya Kawakami <[email protected]> Signed-off-by: Masaki Hatada <[email protected]> Co-authored-by: Daijiro Fukuda <[email protected]>
- Loading branch information
1 parent
77d7229
commit 719cdee
Showing
2 changed files
with
66 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters