From: David Madore Subject: WARNING: at fs/fs-writeback.c:292 on mkdir() in sync-mounted ext2 filesystem Date: Sun, 7 Jun 2009 18:29:20 +0200 Message-ID: <20090607162920.GA18231@regulus.madore.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT To: Linux FS-devel Mailing-List Return-path: Received: from regulus.xn--kwg.net ([212.85.152.99]:37083 "EHLO regulus.xn--kwg.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753659AbZFGQhL convert rfc822-to-8bit (ORCPT ); Sun, 7 Jun 2009 12:37:11 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi List, With kernel 2.6.30-rc8 (+ wireless-testing master-2009-06-03, but I imagine that's not involved here), I get the following warning in dmesg whenever a process calls mkdir() on an ext2 filesystem mounted with -o sync: [144485.269425] ------------[ cut here ]------------ [144485.269436] WARNING: at fs/fs-writeback.c:292 __writeback_single_inode+0x4ab/0x4c0() [144485.269439] Hardware name: System Product Name [144485.269441] Modules linked in: mt2060 dvb_usb_dib0700 dib7000p dib7000m dvb_usb dvb_core dib3000mc dibx000_common dib0070 cryptd aes_x86_64 aes_generic arc4 ecb ath5k mac80211 led_class ath cfg80211 rfkill ahci binfmt_misc ppdev parport_pc lp parport nvidia(P) kvm_intel kvm sch_ingress cls_u32 sch_sfq sch_htb ppp_deflate zlib_deflate bsd_comp acpi_cpufreq processor cpufreq_stats cpufreq_powersave cpufreq_ondemand cpufreq_userspace freq_table cpufreq_conservative sit tunnel4 tun af_packet ppp_async crc_ccitt ppp_generic slhc dummy sky2 skge nf_nat_ftp nf_conntrack_ftp ip6table_mangle xt_TCPMSS ipt_MASQUERADE ip6t_REJECT ip6table_filter ip6_tables ipt_REJECT xt_tcpudp xt_DSCP xfs exportfs reiserfs fuse dm_crypt raid456 raid6_pq async_xor async_memcpy async_tx xor raid0 raid1 dm_snapshot dm_mirror dm_region_hash dm_log dm_mod i2c_dev w83627ehf hwmon_vid hwmon i2c_i801 i2c_core pcspkr ide_cd_mod cdrom msr cpuid iTCO_wdt usblp ohci1394 ieee1394 rtc_cmos rtc_core rtc_lib snd_emu10k1_synth snd_emu10k1 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_util_mem tcp_diag inet_diag ipv6 evdev usbhid hid uhci_hcd ehci_hcd usbcore iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables e1000 md_mod [144485.269614] Pid: 21867, comm: mkdir Tainted: P W 2.6.30-rc8-vega-wl #1 [144485.269617] Call Trace: [144485.269622] [] ? __writeback_single_inode+0x4ab/0x4c0 [144485.269628] [] warn_slowpath_common+0x78/0xd0 [144485.269632] [] warn_slowpath_null+0xf/0x20 [144485.269636] [] __writeback_single_inode+0x4ab/0x4c0 [144485.269641] [] ? wait_on_page_bit+0x6f/0x80 [144485.269646] [] ? wake_bit_function+0x0/0x40 [144485.269650] [] sync_inode+0x2e/0x40 [144485.269655] [] ext2_sync_inode+0x2e/0x30 [144485.269659] [] ext2_commit_chunk+0xc0/0xd0 [144485.269663] [] ext2_make_empty+0x1c7/0x1f0 [144485.269667] [] ext2_mkdir+0xd6/0x170 [144485.269671] [] vfs_mkdir+0xed/0x190 [144485.269722] [] sys_mkdirat+0xfe/0x110 [144485.269726] [] ? up_read+0x9/0x10 [144485.269731] [] ? do_page_fault+0x167/0x280 [144485.269735] [] sys_mkdir+0x13/0x20 [144485.269739] [] system_call_fastpath+0x16/0x1b [144485.269742] ---[ end trace 40e36095cd51a60f ]--- [144485.302078] ------------[ cut here ]------------ [144485.302084] WARNING: at fs/fs-writeback.c:317 __writeback_single_inode+0x48d/0x4c0() [144485.302087] Hardware name: System Product Name [144485.302089] Modules linked in: mt2060 dvb_usb_dib0700 dib7000p dib7000m dvb_usb dvb_core dib3000mc dibx000_common dib0070 cryptd aes_x86_64 aes_generic arc4 ecb ath5k mac80211 led_class ath cfg80211 rfkill ahci binfmt_misc ppdev parport_pc lp parport nvidia(P) kvm_intel kvm sch_ingress cls_u32 sch_sfq sch_htb ppp_deflate zlib_deflate bsd_comp acpi_cpufreq processor cpufreq_stats cpufreq_powersave cpufreq_ondemand cpufreq_userspace freq_table cpufreq_conservative sit tunnel4 tun af_packet ppp_async crc_ccitt ppp_generic slhc dummy sky2 skge nf_nat_ftp nf_conntrack_ftp ip6table_mangle xt_TCPMSS ipt_MASQUERADE ip6t_REJECT ip6table_filter ip6_tables ipt_REJECT xt_tcpudp xt_DSCP xfs exportfs reiserfs fuse dm_crypt raid456 raid6_pq async_xor async_memcpy async_tx xor raid0 raid1 dm_snapshot dm_mirror dm_region_hash dm_log dm_mod i2c_dev w83627ehf hwmon_vid hwmon i2c_i801 i2c_core pcspkr ide_cd_mod cdrom msr cpuid iTCO_wdt usblp ohci1394 ieee1394 rtc_cmos rtc_core rtc_lib snd_emu10k1_synth snd_emu10k1 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_util_mem tcp_diag inet_diag ipv6 evdev usbhid hid uhci_hcd ehci_hcd usbcore iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables e1000 md_mod [144485.302196] Pid: 21867, comm: mkdir Tainted: P W 2.6.30-rc8-vega-wl #1 [144485.302199] Call Trace: [144485.302203] [] ? __writeback_single_inode+0x48d/0x4c0 [144485.302208] [] warn_slowpath_common+0x78/0xd0 [144485.302212] [] warn_slowpath_null+0xf/0x20 [144485.302216] [] __writeback_single_inode+0x48d/0x4c0 [144485.302221] [] ? wait_on_page_bit+0x6f/0x80 [144485.302225] [] ? wake_bit_function+0x0/0x40 [144485.302229] [] sync_inode+0x2e/0x40 [144485.302260] [] ext2_sync_inode+0x2e/0x30 [144485.302264] [] ext2_commit_chunk+0xc0/0xd0 [144485.302268] [] ext2_make_empty+0x1c7/0x1f0 [144485.302272] [] ext2_mkdir+0xd6/0x170 [144485.302276] [] vfs_mkdir+0xed/0x190 [144485.302280] [] sys_mkdirat+0xfe/0x110 [144485.302284] [] ? up_read+0x9/0x10 [144485.302288] [] ? do_page_fault+0x167/0x280 [144485.302292] [] sys_mkdir+0x13/0x20 [144485.302296] [] system_call_fastpath+0x16/0x1b [144485.302298] ---[ end trace 40e36095cd51a610 ]--- Happy hacking, -- David A. Madore ( http://www.madore.org/~david/ )