[xfs-masters] [Bug 15150] New: xfslogd crashes

Christoph Hellwig hch at lst.de
Wed Jan 27 10:40:38 CST 2010


On Wed, Jan 27, 2010 at 04:25:48PM +0000, bugzilla-daemon at bugzilla.kernel.org wrote:
> Hallo,
>   I have a system based on Fedora 9 ( kernel-2.6.27.25-78.2.56.fc9 ), my system
> is keeping to mount/umount a XFS partition every 5 seconds. After a while the
> system gets crash with the following logs :
> 
> Thanks in advance, if you need further information, I will do it with pleasure.

Can you see if the patch below fixes it?


Index: linux-2.6/fs/xfs/xfs_log.c
===================================================================
--- linux-2.6.orig/fs/xfs/xfs_log.c	2009-11-09 22:09:08.858026060 +0100
+++ linux-2.6/fs/xfs/xfs_log.c	2009-11-09 22:13:13.958255857 +0100
@@ -1602,6 +1602,8 @@ xlog_dealloc_log(xlog_t *log)
 	xlog_in_core_t	*iclog, *next_iclog;
 	int		i;
 
+	xfs_flush_buftarg(log->l_mp->m_logdev_targp, 1);
+
 	iclog = log->l_iclog;
 	for (i=0; i<log->l_iclog_bufs; i++) {
 		sv_destroy(&iclog->ic_force_wait);



More information about the xfs-masters mailing list