From owner-freebsd-hackers Wed Apr 2 16:09:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA08219 for hackers-outgoing; Wed, 2 Apr 1997 16:09:29 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA08210 for ; Wed, 2 Apr 1997 16:09:26 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id TAA03796; Wed, 2 Apr 1997 19:09:17 -0500 (EST) From: "John S. Dyson" Message-Id: <199704030009.TAA03796@dyson.iquest.net> Subject: Re: VOP_PUTPAGES In-Reply-To: <199704022320.SAA19709@life.eecs.umich.edu> from "Peter M. Chen" at "Apr 2, 97 06:20:42 pm" To: pmchen@eecs.umich.edu (Peter M. Chen) Date: Wed, 2 Apr 1997 19:09:17 -0500 (EST) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I feel stupid for asking this, but what does VOP_PUTPAGES call? I tried > tracing through the maze of macros but ended up at vp->v_op[0], which I > think is an error function. > You are right!!! :-). If there is no special putpages routine for a filesystem, a default one is used in the pager. This allows for either layering for special filesystems, for higher performance pageins/pageouts, or for the default usage of VOP_WRITE... The default routine is near the end of vnode_pager.c. John