Bad file access on the rise

Matthew Miller mattdm at fedoraproject.org
Sat Jun 8 13:49:31 UTC 2013


On Sat, Jun 08, 2013 at 09:34:22AM -0400, Steve Grubb wrote:
> > Other than a heuristic based on whether a path is in the user's home
> > directory or not, the only way to avoid this is to stat before opening -
> > and that's obviously prone to failure.
> Does opening with noatime really make a measurable difference (assuming it 
> worked)? I suspect not since what we have now is 2 syscalls. It would probably 
> be faster to load icons without trying to set NOATIME.

PLUS, we are mounting filesystems with relatime anyway.


-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm at fedoraproject.org>


More information about the devel mailing list