I reproduced the problem and have attached a patch.  It was the exact
same problem as in swap_pager.c (assuming B_WRITE was 0).  Hopefully phk
will commit this fix shortly.

Jim Bloom
[EMAIL PROTECTED]


\
FreeBSD mailing list wrote:
> 
> I cvsup'd once more this morning...  Nothing significant has changed since the
> last one.
> 
> For reference:
>         ttyp9:staylor@mrynet (4): grep \$FreeBSD /sys/vm/swap_pager.c
>         * $FreeBSD: src/sys/vm/swap_pager.c,v 1.134 2000/03/22 08:40:13 phk Exp $
> 
> Nonetheless, I built a new kernel using "config -r".  No change in floppy operation.
Index: sys/isa/fd.c
===================================================================
RCS file: /users/ncvs/src/sys/isa/fd.c,v
retrieving revision 1.179
diff -u -r1.179 fd.c
--- sys/isa/fd.c        2000/03/20 11:28:39     1.179
+++ sys/isa/fd.c        2000/03/24 20:20:53
@@ -2228,6 +2228,7 @@
        BUF_LOCKINIT(bp);
        BUF_LOCK(bp, LK_EXCLUSIVE);
        bp->b_flags = B_PHYS | B_FORMAT;
+       bp->b_iocmd = BIO_WRITE;
 
        /*
         * calculate a fake blkno, so fdstrategy() would initiate a

Reply via email to