-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an attempt to rectify the situation in zfs_zget() on Linux, where we might be racing with inode reclaim from the kernel. The code is ugly and I'm not sure it's perfectly OK to do it this way anyway. I am by no means sure the refcount check is right, lets develop this idea in the open, I'm eager to see what the testbots say here. Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
- Loading branch information
Showing
2 changed files
with
21 additions
and
39 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