From owner-freebsd-arch Thu Mar 28 17:56:35 2002 Delivered-To: freebsd-arch@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 1458337B419; Thu, 28 Mar 2002 17:56:28 -0800 (PST) Received: from pool0142.cvx40-bradley.dialup.earthlink.net ([216.244.42.142] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16qlcw-0002Av-00; Thu, 28 Mar 2002 17:56:26 -0800 Message-ID: <3CA3C9AC.D5280D16@mindspring.com> Date: Thu, 28 Mar 2002 17:55:56 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Brian F. Feldman" Cc: Garance A Drosihn , Kirk McKusick , arch@FreeBSD.ORG Subject: Re: vnode::v_op bugfix / PERFORCE change 8574 for review (fwd) References: <200203290149.g2T1n2r06394@green.bikeshed.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Brian F. Feldman" wrote: > Garance A Drosihn wrote: > > A previous message said new vnode-ops are very rare. I > > do not know what would trigger them, but I will note that > > one of the things I can brag about with freebsd is that > > I have a freebsd machine running a production service > > here which has now been up for 437 consecutive days. Are > > these events rare enough that I would never have to worry > > about ending an uptime-streak because of too many of them? > > It's not likely to happen, I imagine, but I'd rather to make it "impossible" > to happen rather than just not likely. You can make it happen by loading a module that is not statically compiled, and which adds a VOP to the list of VOPs. The one that triggered this whole thread was NTFS, which adds a VOP for no good reason that I can discern (it should be a file ioctl, IMO). The workaround is to statically compile the module so that the VOP list doesn't get added to when you mount an NTFS volume. The operation is rare, in that it can only happen when you load a module that adds a VOP. Doing _that_ is rare. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message