From owner-freebsd-current@FreeBSD.ORG Tue Dec 7 07:09:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FBAE16A4CE; Tue, 7 Dec 2004 07:09:24 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA82D43D68; Tue, 7 Dec 2004 07:09:23 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iB779Msw099249; Tue, 7 Dec 2004 08:09:22 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 06 Dec 2004 17:04:38 +0100." <41B48316.90004@club-internet.fr> Date: Tue, 07 Dec 2004 08:09:22 +0100 Message-ID: <99248.1102403362@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@freebsd.org Subject: Re: panic: Inconsistent vnode bufstrategy X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 07:09:24 -0000 In message <41B48316.90004@club-internet.fr>, =?ISO-8859-1?Q?Jean-S=E9bastien_P =E9dron?= writes: >In file systems like ufs, msdosfs or ext2fs, VOP_BMAP will do: > *ap->a_bop = &VTOI(ap->a_vp)->i_devvp->v_bufobj; >So the vm will call the device bo_strategy callback, and everything works. > >In NTFS, VOP_BMAP is different: > *ap->a_bop = &ap->a_vp->v_bufobj; >The goal is that the vm should call the file system's VOP_STRATEGY, not >the device directly (that's what I guess, I'm not familiar with this fs :-). Spot on, now for an encore, can you also create a patch to fix this ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.