From owner-freebsd-hackers Thu Feb 18 10: 6:15 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 29AFE1174E for ; Thu, 18 Feb 1999 10:06:03 -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 AAA52CA; Thu, 18 Feb 1999 13:05:52 -0500 Message-ID: <36CC56CA.BCBF6A4B@sarnoff.com> Date: Thu, 18 Feb 1999 13:07:06 -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: Doug Rabson Cc: freebsd-hackers@FreeBSD.ORG, Matthew Dillon Subject: Re: Memory-Based VFS Question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson wrote: > > > I have another question, though: I mapped my _{get,put}pages functions > > (they're empty, just print to console and return 0) to the vop functions > > but when I do a system file copy (via cp), the OS never calls my > > {get,put}pages functions. > > Strange. Are they in the table of vnode ops for your filesystem? Try > setting a breakpoint in the vm code where it is about to call VOP_GETPAGES > and single step to see where it goes. Yes, they are in the vnodeopv_entry_desc structure as vop_getpages_desc and vop_putpages_desc. I stepped through the code and it goes to ufs_readwrite.c:ffs_getpages(). I also set breakpoints in my _getpages(), _putpages() functions and they never get called. -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