Subject: Re: CVS commit: src/sys/ufs/ffs
To: YAMAMOTO Takashi <yamt@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: source-changes
Date: 07/25/2005 09:49:51
hi,

yes, VCHR vnodes can be mmap()ed, but such mappings will use the device pager
rather than the vnode pager, so there is no point in calling VOP_PUTPAGES()
on them.

-Chuck


On Thu, Jul 21, 2005 at 10:00:08PM +0000, YAMAMOTO Takashi wrote:
> 
> Module Name:	src
> Committed By:	yamt
> Date:		Thu Jul 21 22:00:08 UTC 2005
> 
> Modified Files:
> 	src/sys/ufs/ffs: ffs_vnops.c
> 
> Log Message:
> ffs_full_fsync: because VBLK/VCHR can be mmap'ed,
> do VOP_PUTPAGES for them as well.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.70 -r1.71 src/sys/ufs/ffs/ffs_vnops.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.