Re: set last write time = fsync ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Mar 2008 11:16:41 -0500
"Steve French" <smfrench@xxxxxxxxx> wrote:

> I don't worry about flushing atime (anyone crazy enough to do that
> would pay a huge performance penalty).
> Access is usually checked on open right ... so once a file is open
> even if the file becomes read-only, the writes, even cached writes
> continue.
> 

Ahh, you're correct. I've been doing a lot of NFS work lately and was
thinking stateless... :-)

That patch should be OK then, though I think if someone is purposefully
setting the atime we should take care not to clobber it. We're not
going to be going through this codepath on every atime update, are we?
Just on utimes() type calls, correct? If so, doing a flush on atime
updates might be reasonable as well...

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux