From owner-freebsd-scsi Fri May 28 3:35:19 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 04F4314C8B for ; Fri, 28 May 1999 03:35:17 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id DAA26508; Fri, 28 May 1999 03:34:50 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id DAA04669; Fri, 28 May 1999 03:34:48 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id DAA13244; Fri, 28 May 1999 03:34:41 -0700 (PDT) From: Don Lewis Message-Id: <199905281034.DAA13244@salsa.gv.tsc.tdk.com> Date: Fri, 28 May 1999 03:34:40 -0700 In-Reply-To: Bruce Evans "Re: FW: -STABLE scsi problem (bug?)" (May 28, 2:17am) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: Bruce Evans , gibbs@plutotech.com Subject: Re: FW: -STABLE scsi problem (bug?) Cc: mauri@aripaev.ee, scsi@FreeBSD.ORG Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On May 28, 2:17am, Bruce Evans wrote: } Subject: Re: FW: -STABLE scsi problem (bug?) } >>vfs doesn't really know which filesystems have been synced properly, } >>and doesn't call unmount() for any filesystem unless all buffers were } >>synced. The clean bit is set by unmount() so it is left unset for } >>all rw-mounted filesystems if the sync failed. } } >Can't we just walk the buffer list, note the FSes the buffers reference, } >and unmount any FSes that aren't referenced? } } We could, but syncing can only fail if there is an unexpected problem, so } we should be conservative if we don't understand the problem. I think this is overly conservative. The unwritten buffers could be destined for a dead NFS server, and we could be rebooting to clear the stuck mount point. It could be a definite inconvenience if this forces a bunch of huge local filesystems to be fsck'ed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message