On Tue, Apr 30, 2013 at 05:51:17AM -0600, Alexander Skwar wrote:
> Hugo Mills <hugo <at> carfax.org.uk> writes:
> 
> >    The differences in btrfs between the two are very small, and even
> > I(*) wouldn't call 3.8.0 "very old" quite yet, given that 3.9 was only
> > released yesterday. From memory, there's one btrfs patch in the 3.8
> > stable series.
> > 
> >    Your problem is "just" a warning, and appears to be something to do
> > with running out of space, or having too many CRCs... I don't really
> > know the free space cache code at all well, so I'm mostly guessing
> > here, from looking at the WARN_ON in __btrfs_write_out_cache.
> 
> Yes, I'm aware that this just a warning, but I'm a bit scared
> because of the big number of those warnings.
> 
> FWIW, I also got that exact same kernel trace on the Ubuntu
> kernel 3.5.0-28-lowlatency; see http://pastebin.com/rmPAqcTu or here:
> 
> ------------[ cut here ]------------
> WARNING: at fs/btrfs/free-space-cache.c:922 
> __btrfs_write_out_cache+0x6b9/0x990 [btrfs]()
> Hardware name: HP Compaq dc5800 Microtower
> Modules linked in: btrfs zlib_deflate libcrc32c des_generic md4 nvidia(PO) 
> snd_hda_codec_analog arc4 tpm_infineon coretemp snd_hda_intel rtl8192cu 
> snd_hda_codec kvm_intel rtl8192c_common rtlwifi kvm snd_hwdep snd_pcm 
> parport_pc snd_seq_midi bnep rfcomm mac80211 ppdev snd_rawmidi bluetooth 
> snd_seq_midi_event snd_seq binfmt_misc snd_timer snd_seq_device cfg80211 
> dm_multipath psmouse hp_wmi snd scsi_dh gpio_ich sparse_keymap soundcore 
> microcode serio_raw tpm_tis mei mac_hid snd_page_alloc wmi lpc_ich lp 
> parport nls_utf8 cifs fscache ext2 hid_generic usbhid hid usb_storage floppy 
> e1000e
> Pid: 25834, comm: btrfs Tainted: P           O 3.5.0-28-lowlatency #31-
> Ubuntu
> Call Trace:
>  [<ffffffff81053d5f>] warn_slowpath_common+0x7f/0xc0
>  [<ffffffff81053dba>] warn_slowpath_null+0x1a/0x20
>  [<ffffffffa0f83fd9>] __btrfs_write_out_cache+0x6b9/0x990 [btrfs]
>  [<ffffffffa0f29325>] ? __find_space_info+0x85/0xa0 [btrfs]
>  [<ffffffff8168f76e>] ? _raw_spin_unlock+0xe/0x40
>  [<ffffffffa0f32fbc>] ? btrfs_run_delayed_refs+0x1ec/0x470 [btrfs]
>  [<ffffffffa0f84345>] btrfs_write_out_cache+0x95/0xf0 [btrfs]
>  [<ffffffffa0f3375f>] btrfs_write_dirty_block_groups+0x51f/0x5f0 [btrfs]
>  [<ffffffffa0f9edc2>] commit_cowonly_roots+0xfd/0x1c7 [btrfs]
>  [<ffffffffa0f94121>] ? btrfs_run_delayed_items+0xd1/0x150 [btrfs]
>  [<ffffffffa0f44725>] btrfs_commit_transaction+0x5d5/0xb00 [btrfs]
>  [<ffffffff81078ff0>] ? finish_wait+0x80/0x80
>  [<ffffffff8119f122>] ? __d_instantiate+0xd2/0x110
>  [<ffffffff812bf11b>] ? security_d_instantiate+0x1b/0x30
>  [<ffffffffa0f9f8ab>] create_subvol+0x4d1/0x4f8 [btrfs]
>  [<ffffffffa0f794e5>] btrfs_mksubvol+0x3a5/0x400 [btrfs]
>  [<ffffffffa0f795fe>] btrfs_ioctl_snap_create_transid+0xbe/0x180 [btrfs]
>  [<ffffffffa0f79716>] btrfs_ioctl_snap_create+0x56/0x80 [btrfs]
>  [<ffffffffa0f7baba>] btrfs_ioctl+0xc0a/0x1280 [btrfs]
>  [<ffffffff81692b84>] ? do_page_fault+0x1b4/0x4b0
>  [<ffffffff8119b307>] do_vfs_ioctl+0x97/0x530
>  [<ffffffff811898c5>] ? vfs_write+0x105/0x180
>  [<ffffffff8119b839>] sys_ioctl+0x99/0xa0
>  [<ffffffff8169081e>] ? do_device_not_available+0xe/0x10
>  [<ffffffff816969e9>] system_call_fastpath+0x16/0x1b
> ---[ end trace fadd80d2b7f6ec9f ]---
> 

So we deal with this case fine, but it really shouldn't be happening, it only
happens if your block groups are way too large, which again shouldn't be
happening.  Can you run fsck on this device and see if it complains?  Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to