From owner-freebsd-hackers Wed Apr 2 15:21:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA03922 for hackers-outgoing; Wed, 2 Apr 1997 15:21:37 -0800 (PST) Received: from life.eecs.umich.edu (pmchen@life.eecs.umich.edu [141.213.8.32]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA03913 for ; Wed, 2 Apr 1997 15:21:33 -0800 (PST) Received: (from pmchen@localhost) by life.eecs.umich.edu (8.8.5/8.8.0) id SAA19709 for freebsd-hackers@freebsd.org; Wed, 2 Apr 1997 18:20:42 -0500 (EST) Date: Wed, 2 Apr 1997 18:20:42 -0500 (EST) From: "Peter M. Chen" Message-Id: <199704022320.SAA19709@life.eecs.umich.edu> To: freebsd-hackers@freebsd.org Subject: VOP_PUTPAGES 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. VOP_PUTPAGES (kern/vnode_if.h) calls VCALL(vp, VOFFSET(vop_putpages), &a) which becomes VOCALL(vp->v_op, VOFFSET(vop_putpages),&a) which becomes ( *(vp->v_op[VOFFSET(vop_putpages)])) (&a) which becomes ( *(vp->v_op[((&vop_putpages_desc)->vdesc_offset) ])) (&a) which becomes ( *(vp->v_op[0])) (&a) I'm interested in the paging out behavior of files. E.g. a file block that has been mmap'ed and dirtied needs to be written back to its file. Thanks, Pete