Bug 15150
Summary: | xfslogd crashes | ||
---|---|---|---|
Product: | File System | Reporter: | Abdelghani Ouchabane (abdelghani) |
Component: | XFS | Assignee: | XFS Guru (xfs-masters) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | abdelghani |
Priority: | P1 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | kernel-2.6.27.25-78.2.56.fc9 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Abdelghani Ouchabane
2010-01-27 16:25:45 UTC
On Wed, Jan 27, 2010 at 04:25:48PM +0000, bugzilla-daemon@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); (In reply to comment #1) > On Wed, Jan 27, 2010 at 04:25:48PM +0000, bugzilla-daemon@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); Thanks a lot for your quick reply, I will try soon. More information of my system : [abdelghani@alder cyclades-ghani]$ /sandbox/abdelghani/rpmbuild/BUILD/kernel-2.6.27/linux-2.6.27.i686/scripts/ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux alder.ezono.net 2.6.27.7-53.fc9.i686 #1 SMP Thu Nov 27 02:29:03 EST 2008 i686 i686 i386 GNU/Linux Gnu C 4.3.0 Gnu make 3.81 binutils 2.18.50.0.6 util-linux 2.13.1 mount 2.13.1 module-init-tools 3.4 e2fsprogs 1.41.3 pcmciautils 014 quota-tools 3.15. Linux C Library 2.8 Dynamic linker (ldd) 2.8 Procps 3.2.7 Net-tools 1.60 Kbd 1.12 oprofile 0.9.3 Sh-utils 6.10 udev 124 wireless-tools 29 Modules Loaded usb_storage fuse vmnet ppdev parport_pc parport vmblock vsock vmci vmmon autofs4 nfs nfs_acl lockd sunrpc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack xt_tcpudp ipt_REJECT iptable_filter ip_tables x_tables cpufreq_ondemand acpi_cpufreq ipv6 dm_multipath scsi_dh snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer r8169 i915 snd_page_alloc snd_hwdep mii snd drm dcdbas sr_mod e1000e soundcore joydev pcspkr serio_raw i2c_i801 cdrom i2c_algo_bit iTCO_wdt i2c_core iTCO_vendor_support sg floppy dm_snapshot dm_zero dm_mirror dm_log dm_mod ahci libata sd_mod scsi_mod crc_t10dif ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd (In reply to comment #2) > (In reply to comment #1) > > On Wed, Jan 27, 2010 at 04:25:48PM +0000, > bugzilla-daemon@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); > > > Thanks a lot for your quick reply, I will try soon. Hallo Christoph, after testing my system for more than 72 hours, I can say that the bug was fixed by patching the kernel with your patch. Thanks a lot . Cheers, Ghani |