svn commit: r187654 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Fri Jan 23 14:13:01 PST 2009
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)
More information about the svn-src-head
mailing list