Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
While working with Al Viro on some corner cases in atomic open, I noticed that we are doing a lot more work than necessary there.
If we were called with a negative dentry - that means just now we revalidated that dentry so there's no point in contacting MDS to open that file (unless it's a create request), we can just return ENOENT and be done with it which speeds up 99.9% of all usecases and the remaining 0.15 where it's a valid race, we just resolve it the other way as is perfectly fine for us to do.