xfs-masters
[Top] [All Lists]

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

To: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Subject: Re: [xfs-masters] [Bug 15150] New: xfslogd crashes
From: Christoph Hellwig <hch@xxxxxx>
Date: Wed, 27 Jan 2010 17:40:38 +0100
Cc: xfs-masters@xxxxxxxxxxx
In-reply-to: <bug-15150-470@xxxxxxxxxxxxxxxxxxxxxxxx/>
References: <bug-15150-470@xxxxxxxxxxxxxxxxxxxxxxxx/>
User-agent: Mutt/1.3.28i
On Wed, Jan 27, 2010 at 04:25:48PM +0000, bugzilla-daemon@xxxxxxxxxxxxxxxxxxx 
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);

<Prev in Thread] Current Thread [Next in Thread>