From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 3 22:51:21 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E09716A47B for ; Wed, 3 Jan 2007 22:51:21 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out-01.forthnet.gr (mx-out.forthnet.gr [193.92.150.105]) by mx1.freebsd.org (Postfix) with ESMTP id 5480D13C4A8 for ; Wed, 3 Jan 2007 22:51:19 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-av-01.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-01.forthnet.gr (8.13.7/8.13.7) with ESMTP id l03MpE8e017031; Thu, 4 Jan 2007 00:51:14 +0200 Received: from mx-in-04.forthnet.gr (mx-in-04.forthnet.gr [193.92.150.163]) by mx-av-01.forthnet.gr (8.13.7/8.13.7) with ESMTP id l03MpEW2024071; Thu, 4 Jan 2007 00:51:14 +0200 Received: from [192.168.136.22] (ppp197-7.adsl.forthnet.gr [62.1.146.7]) by mx-in-04.forthnet.gr (8.13.7/8.13.7) with ESMTP id l03MpCpj007862; Thu, 4 Jan 2007 00:51:13 +0200 Authentication-Results: mx-in-04.forthnet.gr from=dds@aueb.gr; sender-id=neutral; spf=neutral Message-ID: <459C335A.1030200@aueb.gr> Date: Thu, 04 Jan 2007 00:51:06 +0200 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7 MIME-Version: 1.0 To: John Baldwin References: <459BE218.7070605@aueb.gr> <200701031607.00199.jhb@freebsd.org> In-Reply-To: <200701031607.00199.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Filesystem layering X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 22:51:21 -0000 John Baldwin wrote: > On Wednesday 03 January 2007 12:04, Diomidis Spinellis wrote: >> static int >> umap_bypass(ap) >> struct vop_generic_args /* { >> struct vnodeop_desc *a_desc; >> >> } */ *ap; >> { >> /* ... */ > > In this magic code here this function changes the vnode pointers in > ap. I presume you mean the part starting with the comment: /* * Map the vnodes going in. * Later, we'll invoke the operation based on * the first mapped vnode's operation vector. */ Thanks! I don't think I'd guess it by reading the code; I was looking for a a simple assignment or indirection. My next plan was to add debugging statements along the way, which would have been quite painful. Diomidis