From owner-svn-src-all@FreeBSD.ORG Fri Jan 23 22:13:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0046106564A; Fri, 23 Jan 2009 22:13:00 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AF8138FC18; Fri, 23 Jan 2009 22:13:00 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0NMD0CQ055625; Fri, 23 Jan 2009 22:13:00 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0NMD0n8055624; Fri, 23 Jan 2009 22:13:00 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200901232213.n0NMD0n8055624@svn.freebsd.org> From: John Baldwin Date: Fri, 23 Jan 2009 22:13:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187654 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 22:13:01 -0000 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)