From owner-freebsd-hackers Tue Feb 16 13:21:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from postoffice.sarnoff.com (postoffice.sarnoff.com [130.33.10.147]) by hub.freebsd.org (Postfix) with ESMTP id A349610F9C for ; Tue, 16 Feb 1999 13:21:37 -0800 (PST) (envelope-from amarks@sarnoff.com) Received: from sarnoff.com ([130.33.14.232]) by postoffice.sarnoff.com (Netscape Messaging Server 3.5) with ESMTP id AAA32AA for ; Tue, 16 Feb 1999 16:21:36 -0500 Message-ID: <36C9E1A8.40F6780B@sarnoff.com> Date: Tue, 16 Feb 1999 16:22:48 -0500 From: "AARON MARKS" Reply-To: amarks@sarnoff.com Organization: Sarnoff Corporation X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Memory-Based VFS Question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm implementing a memory-based VFS on 3.0-19981123. I have almost all of the VOP_* functions implemented but I ran into a slight problem with file copies. If I copy a file from and to a dir mounted on my fs, the kernel calls mmap to map the data in (I guess it would call vop_read if the data was too large). My problem is that the kernel never calls my vop_mmap (not even sure if it's supposed to) so I never get the opportunity to copy the data from my fs to kernel space so the data in the io vector pased to me at vop_write is invalid. Any ideas? Thanks, -A. -- Aaron J. Marks Communications and Computing Systems Lab Assoc. Member Tech Staff Advanced Networks and Computation Group amarks@sarnoff.com Sarnoff Corporation To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message