From owner-freebsd-fs Mon Jul 29 10:14:35 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0667B37B400 for ; Mon, 29 Jul 2002 10:14:34 -0700 (PDT) Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 586B543E65 for ; Mon, 29 Jul 2002 10:14:33 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from jenolen.cs.rpi.edu (jenolen.cs.rpi.edu [128.213.12.42]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id NAA77881; Mon, 29 Jul 2002 13:14:27 -0400 (EDT) Received: from jenolen.cs.rpi.edu (crossd@localhost) by jenolen.cs.rpi.edu (8.11.6+Sun/8.9.3) with ESMTP id g6THESc08188; Mon, 29 Jul 2002 13:14:28 -0400 (EDT) Message-Id: <200207291714.g6THESc08188@jenolen.cs.rpi.edu> X-Authentication-Warning: jenolen.cs.rpi.edu: crossd owned process doing -bs To: fs@freebsd.org Cc: guptar@cs.rpi.edu Subject: UFS Journaling Project Date: Mon, 29 Jul 2002 13:14:28 -0400 From: "David E. Cross" Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As some of you know "we" (CS Dept lab) are working on a UFS journal. We've made decent progress so far (given we've never worked on this part of the code so far), but we've hit a block. We need to store state information in the kernel... current journal offset, journal vnode, etc. It seems the logical place to put this is in struct ufsmount (since each mount will have different state), but whenever we put a "struct ufsjournal *uj;" in we get corruptined inode messages; we have rebuilt kernel from nothing. It seems that there are 2 copies of struct ufsmount, or something is using raw offsets. Question: How do we modify struct ufsmount without causing corruption, or where should we store a pointer to our state information? -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message