From owner-freebsd-fs@FreeBSD.ORG Sat May 26 20:04:23 2007 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C3A316A400 for ; Sat, 26 May 2007 20:04:23 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id C85E813C468 for ; Sat, 26 May 2007 20:04:22 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 0843845683; Sat, 26 May 2007 21:40:13 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id B539345685; Sat, 26 May 2007 21:40:08 +0200 (CEST) Date: Sat, 26 May 2007 21:40:00 +0200 From: Pawel Jakub Dawidek To: Howard Su Message-ID: <20070526194000.GC27289@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yLVHuoLXiP9kZBkt" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: fs@freebsd.org Subject: Re: call for help on TMPFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 20:04:23 -0000 --yLVHuoLXiP9kZBkt Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 26, 2007 at 12:06:14AM +0800, Howard Su wrote: > i updated the latest status in http://wiki.freebsd.org/TMPFS with the > patch. i want some help on the panic. i even don't have idea on how to > narrow it down. also testing and bug report is welcome. I think you are missing some cases in lookup where you should add SAVENAME flag. I'd start from adding this (or similar) assertions: KASSERT((ap->a_cnp->cn_flags & SAVENAME), ("No SAVENAME")); to the following functions: tmpfs_create() tmpfs_remove() tmpfs_mkdir() tmpfs_rmdir() tmpfs_rename() (assert both: fcnp and tcnp) tmpfs_symlink() tmpfs_link() --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --yLVHuoLXiP9kZBkt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGWI0QForvXbEpPzQRAntBAKDe7O19akBrFqJTM/x1vZFKDlxWsgCcDXld mhG5oxvNflUaQ6AAEiUZ1f8= =IekL -----END PGP SIGNATURE----- --yLVHuoLXiP9kZBkt--