kern/114216: aio when using dt panic: lock "aiomtx" 0xc473f1f0
already initialized
Kirk Russell
kirk at ba23.org
Sat Aug 11 12:50:07 PDT 2007
The following reply was made to PR kern/114216; it has been noted by GNATS.
From: Kirk Russell <kirk at ba23.org>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/114216: aio when using dt panic: lock "aiomtx" 0xc473f1f0
already initialized
Date: Sat, 11 Aug 2007 15:49:22 -0400 (EDT)
I merged in Kostik Belousov's patch into 7.0-CURRENT-200706. I can
no longer reproduce this panic, using this patch.
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=307242+0+current/freebsd-current
*** vfs_aio.c.orig Thu May 31 21:12:44 2007
--- vfs_aio.c Sat Aug 11 10:28:32 2007
***************
*** 719,724 ****
--- 719,725 ----
}
AIO_UNLOCK(ki);
taskqueue_drain(taskqueue_aiod_bio, &ki->kaio_task);
+ mtx_destroy(&ki->kaio_mtx);
uma_zfree(kaio_zone, ki);
p->p_aioinfo = NULL;
}
More information about the freebsd-bugs
mailing list