From owner-freebsd-bugs Sat Jul 8 14:25:48 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA01392 for bugs-outgoing; Sat, 8 Jul 1995 14:25:48 -0700 Received: from blob.best.net (blob.best.net [204.156.128.88]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA01378 for ; Sat, 8 Jul 1995 14:25:46 -0700 Received: (dillon@localhost) by blob.best.net (8.6.12/8.6.5) id OAA08945; Sat, 8 Jul 1995 14:24:12 -0700 Date: Sat, 8 Jul 1995 14:24:12 -0700 From: Matt Dillon Message-Id: <199507082124.OAA08945@blob.best.net> To: bugs@freebsd.org Subject: That NFS bug Sender: bugs-owner@freebsd.org Precedence: bulk Appears to be due to a degenerate condition in the nfs/nfs_bio.c code. You have to add the conditional if (bp->b_dirtyoff == bp->b_dirtyend) to it below, around line 574. I *think* that fixes the problem, but cannot be positive... will have to see if the machine crashes again with the panic discussed in my last email. if (bp->b_dirtyend > 0) { bp->b_dirtyoff = min(on, bp->b_dirtyoff); bp->b_dirtyend = max((on + n), bp->b_dirtyend); } else { bp->b_dirtyoff = on; bp->b_dirtyend = on + n; } /* ADD ME */ if (bp->b_dirtyoff == bp->b_dirtyend) bp->b_dirtyoff = bp->b_dirtyend = 0; /* ADD ME */