Subject: Re: Changed mount_mfs behavior?
To: None <current-users@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 10/01/2002 20:12:09
In article <20020921105558.GA15535@apb.cequrux.com>,
	Alan Barrett <apb@cequrux.com> writes:
> This sounds like the problem I described in PR 17128.  As far as I can tell,
> there's been no progress in fixing it.

It looks like PR kern/17128 describes the same problems as PR kern/17321.
You might try this patch which I got from Chuck Silvers:

cvs server: Diffing .
Index: mfs_vfsops.c
===================================================================
RCS file: /cvsroot/syssrc/sys/ufs/mfs/mfs_vfsops.c,v
retrieving revision 1.38
diff -u -r1.38 mfs_vfsops.c
--- mfs_vfsops.c        2002/03/04 02:25:24     1.38
+++ mfs_vfsops.c        2002/10/01 20:06:25
@@ -235,6 +235,8 @@
        size_t size;
        int flags, error;
 
+       /* XXX suggested fix for PR kern/17321 by Chuck Silvers. */
+       mp->mnt_flag |= MNT_SYNCHRONOUS;
        /*
         * XXX turn off async to avoid hangs when writing lots of data.
         * the problem is that MFS needs to allocate pages to clean pages,

I didn't experience another freeze so far but the system wasn't up
long enough (because of cabling changes and not another crash). The
patch will however cause a performance degradation.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/