Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2009 22:13:00 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187654 - head/sys/kern
Message-ID:  <200901232213.n0NMD0n8055624@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Jan 23 22:13:00 2009
New Revision: 187654
URL: http://svn.freebsd.org/changeset/base/187654

Log:
  Tweak the wording for vfs_mark_atime() since the I/O it is avoiding by not
  updating va_atime via VOP_SETATTR() isn't always synchronous.  For some
  filesystems it is asynchronous.
  
  Suggested by:  bde

Modified:
  head/sys/kern/vfs_subr.c

Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c	Fri Jan 23 22:08:54 2009	(r187653)
+++ head/sys/kern/vfs_subr.c	Fri Jan 23 22:13:00 2009	(r187654)
@@ -4198,9 +4198,9 @@ vfs_read_dirent(struct vop_readdir_args 
 
 /*
  * Mark for update the access time of the file if the filesystem
- * supports VOP_MARKATIME.  This functionality is used by execve
- * and mmap, so we want to avoid the synchronous I/O implied by
- * directly setting va_atime for the sake of efficiency.
+ * supports VOP_MARKATIME.  This functionality is used by execve and
+ * mmap, so we want to avoid the I/O implied by directly setting
+ * va_atime for the sake of efficiency.
  */
 void
 vfs_mark_atime(struct vnode *vp, struct ucred *cred)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901232213.n0NMD0n8055624>