Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2011 13:49:03 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221261 - in head/sys: fs/ext2fs ufs/ffs
Message-ID:  <201104301349.p3UDn3w5048136@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Apr 30 13:49:03 2011
New Revision: 221261
URL: http://svn.freebsd.org/changeset/base/221261

Log:
  Clarify the comment.
  
  MFC after:	1 week

Modified:
  head/sys/fs/ext2fs/ext2_readwrite.c
  head/sys/ufs/ffs/ffs_vnops.c

Modified: head/sys/fs/ext2fs/ext2_readwrite.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_readwrite.c	Sat Apr 30 12:39:47 2011	(r221260)
+++ head/sys/fs/ext2fs/ext2_readwrite.c	Sat Apr 30 13:49:03 2011	(r221261)
@@ -166,7 +166,8 @@ READ(ap)
 			/*
 			 * If it's VMIO or direct I/O, then we don't
 			 * need the buf, mark it available for
-			 * freeing. If it's VMIO, the VM has the data.
+			 * freeing. If it's non-direct VMIO, the VM has
+			 * the data.
 			 */
 			bp->b_flags |= B_RELBUF;
 			brelse(bp);

Modified: head/sys/ufs/ffs/ffs_vnops.c
==============================================================================
--- head/sys/ufs/ffs/ffs_vnops.c	Sat Apr 30 12:39:47 2011	(r221260)
+++ head/sys/ufs/ffs/ffs_vnops.c	Sat Apr 30 13:49:03 2011	(r221261)
@@ -591,7 +591,8 @@ ffs_read(ap)
 			/*
 			 * If there are no dependencies, and it's VMIO,
 			 * then we don't need the buf, mark it available
-			 * for freeing. The VM has the data.
+			 * for freeing.  For non-direct VMIO reads, he VM
+			 * has the data.
 			 */
 			bp->b_flags |= B_RELBUF;
 			brelse(bp);
@@ -985,7 +986,8 @@ ffs_extread(struct vnode *vp, struct uio
 			/*
 			 * If there are no dependencies, and it's VMIO,
 			 * then we don't need the buf, mark it available
-			 * for freeing. The VM has the data.
+			 * for freeing.  For non-direct VMIO reads, The VM
+			 * has the data.
 			 */
 			bp->b_flags |= B_RELBUF;
 			brelse(bp);



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