Date: Sun, 8 Mar 1998 15:06:39 +0100 From: Ollivier Robert <roberto@keltia.freenix.fr> To: current@FreeBSD.ORG Subject: Re: Okay, -current should be conditionally safe to use Message-ID: <19980308150639.A6195@keltia.freenix.fr> In-Reply-To: <2649.889329889@gjp.erols.com>; from Gary Palmer on Sat, Mar 07, 1998 at 11:04:49PM -0500 References: <199803080059.TAA00326@dyson.iquest.net> <2649.889329889@gjp.erols.com>
next in thread | previous in thread | raw e-mail | index | archive | help
According to Gary Palmer:
> Apart from the problems with using Async & SoftUpdates together, what
> other `known' problems are there?
The panic Amancio and I have seen is not related to async + softupdates,
just softupdates themselves. It always panic in softdep_setup_allocindir_page
while doing a bcopy.
#10 0xf019e5d2 in generic_bcopy ()
#11 0xf0172637 in softdep_setup_allocindir_page (ip=0xf09e0c00, lbn=203,
bp=0xf1ca394c, ptrno=191, newblkno=303640, oldblkno=0, nbp=0xf1cc4cd4)
at ../../ufs/ffs/ffs_softdep.c:1416
#12 0xf016fbbd in ffs_balloc (ap=0xf4048e94) at ../../ufs/ffs/ffs_balloc.c:302
#13 0xf017936c in ffs_write (ap=0xf4048ee8) at vnode_if.h:995
#14 0xf013ac27 in vn_write (fp=0xf0a2adc0, uio=0xf4048f30, cred=0xf0aca800)
at vnode_if.h:331
#15 0xf011b9cb in write (p=0xf3f42f00, uap=0xf4048f84)
softdep_setup_allocindir_page() has no bcopy but calls
softdep_setup_allocindir_page2 which has one at the end:
-=-=-=-=-
MALLOC(newindirdep, struct indirdep *, sizeof(struct indirdep),
M_INDIRDEP, M_WAITOK);
newindirdep->ir_list.wk_type = D_INDIRDEP;
newindirdep->ir_state = ATTACHED;
LIST_INIT(&newindirdep->ir_deplisthd);
LIST_INIT(&newindirdep->ir_donehd);
newindirdep->ir_saveddata = (ufs_daddr_t *)bp->b_data;
newindirdep->ir_savebp =
getblk(ip->i_devvp, bp->b_blkno, bp->b_bcount, 0, 0);
bcopy((caddr_t)newindirdep->ir_saveddata,
newindirdep->ir_savebp->b_data, bp->b_bcount);
}
}
-=-=-=-=-
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #0: Sun Mar 1 18:50:39 CET 1998
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980308150639.A6195>
