All of lore.kernel.org
 help / color / mirror / Atom feed
* 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
@ 2012-05-14 13:18 ` Arnd Hannemann
  0 siblings, 0 replies; 9+ messages in thread
From: Arnd Hannemann @ 2012-05-14 13:18 UTC (permalink / raw)
  To: linux-btrfs; +Cc: linux-kernel

Hi,

I just got the following warning on a compressed btrfs filesystem, while writing on it
until no remaining space was available.
Looks like a bit verbose "disk full" message, is it expected behavior?

[22403.015529] ------------[ cut here ]------------
[22403.015572] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
[22403.015577] Hardware name: 4384GEG
[22403.015579] btrfs: Transaction aborted
[22403.015581] Modules linked in: dm_crypt ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables joydev bridge stp llc kvm_intel kvm bnep rfcomm bluetooth binfmt_misc arc4 snd_hda_codec_hdmi snd_hda_codec_conexant coretemp snd_hda_intel thinkpad_acpi microcode snd_hda_codec snd_hwdep snd_pcm qcserial usb_wwan psmouse usbserial snd_seq_midi serio_raw snd_rawmidi iwlwifi snd_seq_midi_event snd_seq intel_ips mac80211 snd_timer snd_seq_device cfg80211 snd snd_page_alloc mei(C) soundcore tpm_tis nvram btrfs zlib_deflate libcrc32c mxm_wmi ghash_clmulni_intel aesni_intel cryptd aes_x86_64 i915 drm_kms_helper sdhci_pci sdhci drm firewi
 re_ohci i2c_algo_bit firewire_core crc_itu_t ahci libahci wmi video e1000e
[22403.015668] Pid: 24802, comm: btrfs-delalloc- Tainted: G         C   3.4.0-rc6aha+ #8
[22403.015671] Call Trace:
[22403.015683]  [<ffffffff8104e35f>] warn_slowpath_common+0x7f/0xc0
[22403.015689]  [<ffffffff8104e456>] warn_slowpath_fmt+0x46/0x50
[22403.015711]  [<ffffffffa01c63fd>] ? btrfs_reserve_extent+0xed/0x250 [btrfs]
[22403.015728]  [<ffffffffa01b1bde>] __btrfs_abort_transaction+0xae/0xc0 [btrfs]
[22403.015754]  [<ffffffffa01dea12>] submit_compressed_extents+0x212/0x480 [btrfs]
[22403.015781]  [<ffffffffa01ded04>] async_cow_submit+0x84/0x90 [btrfs]
[22403.015807]  [<ffffffffa0206988>] run_ordered_completions+0x78/0xf0 [btrfs]
[22403.015833]  [<ffffffffa0207395>] worker_loop+0x185/0x5d0 [btrfs]
[22403.015840]  [<ffffffff810792c8>] ? __wake_up_common+0x58/0x90
[22403.015867]  [<ffffffffa0207210>] ? btrfs_queue_worker+0x310/0x310 [btrfs]
[22403.015873]  [<ffffffff81070b83>] kthread+0x93/0xa0
[22403.015880]  [<ffffffff81628224>] kernel_thread_helper+0x4/0x10
[22403.015886]  [<ffffffff81070af0>] ? kthread_freezable_should_stop+0x70/0x70
[22403.015891]  [<ffffffff81628220>] ? gs_change+0x13/0x13
[22403.015895] ---[ end trace 768f569fb0306239 ]---
[22403.015898] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.064892] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.094675] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.512902] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.703871] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.709637] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.721362] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.736999] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.794067] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.799009] BTRFS warning (device dm-6): Aborting unused transaction.
[22404.035483] BTRFS warning (device dm-6): Aborting unused transaction.
[22404.108751] BTRFS warning (device dm-6): Aborting unused transaction.

Best regards
Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
@ 2012-05-14 13:18 ` Arnd Hannemann
  0 siblings, 0 replies; 9+ messages in thread
From: Arnd Hannemann @ 2012-05-14 13:18 UTC (permalink / raw)
  To: linux-btrfs; +Cc: linux-kernel

Hi,

I just got the following warning on a compressed btrfs filesystem, while writing on it
until no remaining space was available.
Looks like a bit verbose "disk full" message, is it expected behavior?

[22403.015529] ------------[ cut here ]------------
[22403.015572] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
[22403.015577] Hardware name: 4384GEG
[22403.015579] btrfs: Transaction aborted
[22403.015581] Modules linked in: dm_crypt ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables joydev bridge stp llc kvm_intel kvm bnep rfcomm bluetooth binfmt_misc arc4 snd_hda_codec_hdmi snd_hda_codec_conexant coretemp snd_hda_intel thinkpad_acpi microcode snd_hda_codec snd_hwdep snd_pcm qcserial usb_wwan psmouse usbserial snd_seq_midi serio_raw snd_rawmidi iwlwifi snd_seq_midi_event snd_seq intel_ips mac80211 snd_timer snd_seq_device cfg80211 snd snd_page_alloc mei(C) soundcore tpm_tis nvram btrfs zlib_deflate libcrc32c mxm_wmi ghash_clmulni_intel aesni_intel cryptd aes_x86_64 i915 drm_kms_helper sdhci_pci sdhci drm firewire_ohci i2c_algo_bit firewire_core crc_itu_t ahci libahci wmi video e1000e
[22403.015668] Pid: 24802, comm: btrfs-delalloc- Tainted: G         C   3.4.0-rc6aha+ #8
[22403.015671] Call Trace:
[22403.015683]  [<ffffffff8104e35f>] warn_slowpath_common+0x7f/0xc0
[22403.015689]  [<ffffffff8104e456>] warn_slowpath_fmt+0x46/0x50
[22403.015711]  [<ffffffffa01c63fd>] ? btrfs_reserve_extent+0xed/0x250 [btrfs]
[22403.015728]  [<ffffffffa01b1bde>] __btrfs_abort_transaction+0xae/0xc0 [btrfs]
[22403.015754]  [<ffffffffa01dea12>] submit_compressed_extents+0x212/0x480 [btrfs]
[22403.015781]  [<ffffffffa01ded04>] async_cow_submit+0x84/0x90 [btrfs]
[22403.015807]  [<ffffffffa0206988>] run_ordered_completions+0x78/0xf0 [btrfs]
[22403.015833]  [<ffffffffa0207395>] worker_loop+0x185/0x5d0 [btrfs]
[22403.015840]  [<ffffffff810792c8>] ? __wake_up_common+0x58/0x90
[22403.015867]  [<ffffffffa0207210>] ? btrfs_queue_worker+0x310/0x310 [btrfs]
[22403.015873]  [<ffffffff81070b83>] kthread+0x93/0xa0
[22403.015880]  [<ffffffff81628224>] kernel_thread_helper+0x4/0x10
[22403.015886]  [<ffffffff81070af0>] ? kthread_freezable_should_stop+0x70/0x70
[22403.015891]  [<ffffffff81628220>] ? gs_change+0x13/0x13
[22403.015895] ---[ end trace 768f569fb0306239 ]---
[22403.015898] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.064892] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.094675] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.512902] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.703871] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.709637] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.721362] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.736999] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.794067] BTRFS warning (device dm-6): Aborting unused transaction.
[22403.799009] BTRFS warning (device dm-6): Aborting unused transaction.
[22404.035483] BTRFS warning (device dm-6): Aborting unused transaction.
[22404.108751] BTRFS warning (device dm-6): Aborting unused transaction.

Best regards
Arnd


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
  2012-05-14 13:18 ` Arnd Hannemann
  (?)
@ 2012-05-14 15:05 ` David Sterba
  2012-05-14 16:16   ` Arnd Hannemann
  2012-05-17  9:06   ` Martin Mailand
  -1 siblings, 2 replies; 9+ messages in thread
From: David Sterba @ 2012-05-14 15:05 UTC (permalink / raw)
  To: Arnd Hannemann; +Cc: linux-btrfs, linux-kernel

On Mon, May 14, 2012 at 03:18:46PM +0200, Arnd Hannemann wrote:
> I just got the following warning on a compressed btrfs filesystem, while writing on it
> until no remaining space was available.
> Looks like a bit verbose "disk full" message, is it expected behavior?

Shouldn't be the case for regular ENOSPC (ie. when the space is reserved
in advance and with the possibility to fail early). If the transaction
is aborted, it means it's too late and there was some logic error.

Can you please describe more the fs and how did you fill it? Like single
process or multiple, dd or whatever.


thanks,
david

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
  2012-05-14 15:05 ` David Sterba
@ 2012-05-14 16:16   ` Arnd Hannemann
  2012-05-17  9:06   ` Martin Mailand
  1 sibling, 0 replies; 9+ messages in thread
From: Arnd Hannemann @ 2012-05-14 16:16 UTC (permalink / raw)
  To: dave; +Cc: linux-btrfs, linux-kernel

Hello David,

Am 14.05.2012 17:05, schrieb David Sterba:
> On Mon, May 14, 2012 at 03:18:46PM +0200, Arnd Hannemann wrote:
>> I just got the following warning on a compressed btrfs filesystem, while writing on it
>> until no remaining space was available.
>> Looks like a bit verbose "disk full" message, is it expected behavior?
> 
> Shouldn't be the case for regular ENOSPC (ie. when the space is reserved
> in advance and with the possibility to fail early). If the transaction
> is aborted, it means it's too late and there was some logic error.
> 
> Can you please describe more the fs and how did you fill it? Like single
> process or multiple, dd or whatever.

the particular filesystem is used for chroots (/opt/chroots). It got full while
installing texlive-extra on a debian squeeze (i386) chroot.
It was probably a single process, but it involed a lot of small files.

Best regards
Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
  2012-05-14 13:18 ` Arnd Hannemann
@ 2012-05-15  1:39   ` Liu Bo
  -1 siblings, 0 replies; 9+ messages in thread
From: Liu Bo @ 2012-05-15  1:39 UTC (permalink / raw)
  To: Arnd Hannemann; +Cc: linux-btrfs, linux-kernel

On 05/14/2012 09:18 PM, Arnd Hannemann wrote:

> Hi,
> 
> I just got the following warning on a compressed btrfs filesystem, while writing on it
> until no remaining space was available.
> Looks like a bit verbose "disk full" message, is it expected behavior?
> 


Hi Arnd,

Can you add another mount option "enospc_debug", like mount xx xxx -o compress,enospc_debug?

Plz show us what you get, there might be a space leak.

thanks,
liubo


> [22403.015529] ------------[ cut here ]------------
> [22403.015572] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
> [22403.015577] Hardware name: 4384GEG
> [22403.015579] btrfs: Transaction aborted
> [22403.015581] Modules linked in: dm_crypt ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables joydev bridge stp llc kvm_intel kvm bnep rfcomm bluetooth binfmt_misc arc4 snd_hda_codec_hdmi snd_hda_codec_conexant coretemp snd_hda_intel thinkpad_acpi microcode snd_hda_codec snd_hwdep snd_pcm qcserial usb_wwan psmouse usbserial snd_seq_midi serio_raw snd_rawmidi iwlwifi snd_seq_midi_event snd_seq intel_ips mac80211 snd_timer snd_seq_device cfg80211 snd snd_page_alloc mei(C) soundcore tpm_tis nvram btrfs zlib_deflate libcrc32c mxm_wmi ghash_clmulni_intel aesni_intel cryptd aes_x86_64 i915 drm_kms_helper sdhci_pci sdhci drm fire
 wire_ohci i2c_algo_bit firewire_core crc_itu_t ahci libahci wmi video e1000e
> [22403.015668] Pid: 24802, comm: btrfs-delalloc- Tainted: G         C   3.4.0-rc6aha+ #8
> [22403.015671] Call Trace:
> [22403.015683]  [<ffffffff8104e35f>] warn_slowpath_common+0x7f/0xc0
> [22403.015689]  [<ffffffff8104e456>] warn_slowpath_fmt+0x46/0x50
> [22403.015711]  [<ffffffffa01c63fd>] ? btrfs_reserve_extent+0xed/0x250 [btrfs]
> [22403.015728]  [<ffffffffa01b1bde>] __btrfs_abort_transaction+0xae/0xc0 [btrfs]
> [22403.015754]  [<ffffffffa01dea12>] submit_compressed_extents+0x212/0x480 [btrfs]
> [22403.015781]  [<ffffffffa01ded04>] async_cow_submit+0x84/0x90 [btrfs]
> [22403.015807]  [<ffffffffa0206988>] run_ordered_completions+0x78/0xf0 [btrfs]
> [22403.015833]  [<ffffffffa0207395>] worker_loop+0x185/0x5d0 [btrfs]
> [22403.015840]  [<ffffffff810792c8>] ? __wake_up_common+0x58/0x90
> [22403.015867]  [<ffffffffa0207210>] ? btrfs_queue_worker+0x310/0x310 [btrfs]
> [22403.015873]  [<ffffffff81070b83>] kthread+0x93/0xa0
> [22403.015880]  [<ffffffff81628224>] kernel_thread_helper+0x4/0x10
> [22403.015886]  [<ffffffff81070af0>] ? kthread_freezable_should_stop+0x70/0x70
> [22403.015891]  [<ffffffff81628220>] ? gs_change+0x13/0x13
> [22403.015895] ---[ end trace 768f569fb0306239 ]---
> [22403.015898] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.064892] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.094675] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.512902] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.703871] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.709637] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.721362] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.736999] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.794067] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.799009] BTRFS warning (device dm-6): Aborting unused transaction.
> [22404.035483] BTRFS warning (device dm-6): Aborting unused transaction.
> [22404.108751] BTRFS warning (device dm-6): Aborting unused transaction.
> 
> Best regards
> Arnd
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
@ 2012-05-15  1:39   ` Liu Bo
  0 siblings, 0 replies; 9+ messages in thread
From: Liu Bo @ 2012-05-15  1:39 UTC (permalink / raw)
  To: Arnd Hannemann; +Cc: linux-btrfs, linux-kernel

On 05/14/2012 09:18 PM, Arnd Hannemann wrote:

> Hi,
> 
> I just got the following warning on a compressed btrfs filesystem, while writing on it
> until no remaining space was available.
> Looks like a bit verbose "disk full" message, is it expected behavior?
> 


Hi Arnd,

Can you add another mount option "enospc_debug", like mount xx xxx -o compress,enospc_debug?

Plz show us what you get, there might be a space leak.

thanks,
liubo


> [22403.015529] ------------[ cut here ]------------
> [22403.015572] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
> [22403.015577] Hardware name: 4384GEG
> [22403.015579] btrfs: Transaction aborted
> [22403.015581] Modules linked in: dm_crypt ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables joydev bridge stp llc kvm_intel kvm bnep rfcomm bluetooth binfmt_misc arc4 snd_hda_codec_hdmi snd_hda_codec_conexant coretemp snd_hda_intel thinkpad_acpi microcode snd_hda_codec snd_hwdep snd_pcm qcserial usb_wwan psmouse usbserial snd_seq_midi serio_raw snd_rawmidi iwlwifi snd_seq_midi_event snd_seq intel_ips mac80211 snd_timer snd_seq_device cfg80211 snd snd_page_alloc mei(C) soundcore tpm_tis nvram btrfs zlib_deflate libcrc32c mxm_wmi ghash_clmulni_intel aesni_intel cryptd aes_x86_64 i915 drm_kms_helper sdhci_pci sdhci drm firewire_ohci i2c_algo_bit firewire_core crc_itu_t ahci libahci wmi video e1000e
> [22403.015668] Pid: 24802, comm: btrfs-delalloc- Tainted: G         C   3.4.0-rc6aha+ #8
> [22403.015671] Call Trace:
> [22403.015683]  [<ffffffff8104e35f>] warn_slowpath_common+0x7f/0xc0
> [22403.015689]  [<ffffffff8104e456>] warn_slowpath_fmt+0x46/0x50
> [22403.015711]  [<ffffffffa01c63fd>] ? btrfs_reserve_extent+0xed/0x250 [btrfs]
> [22403.015728]  [<ffffffffa01b1bde>] __btrfs_abort_transaction+0xae/0xc0 [btrfs]
> [22403.015754]  [<ffffffffa01dea12>] submit_compressed_extents+0x212/0x480 [btrfs]
> [22403.015781]  [<ffffffffa01ded04>] async_cow_submit+0x84/0x90 [btrfs]
> [22403.015807]  [<ffffffffa0206988>] run_ordered_completions+0x78/0xf0 [btrfs]
> [22403.015833]  [<ffffffffa0207395>] worker_loop+0x185/0x5d0 [btrfs]
> [22403.015840]  [<ffffffff810792c8>] ? __wake_up_common+0x58/0x90
> [22403.015867]  [<ffffffffa0207210>] ? btrfs_queue_worker+0x310/0x310 [btrfs]
> [22403.015873]  [<ffffffff81070b83>] kthread+0x93/0xa0
> [22403.015880]  [<ffffffff81628224>] kernel_thread_helper+0x4/0x10
> [22403.015886]  [<ffffffff81070af0>] ? kthread_freezable_should_stop+0x70/0x70
> [22403.015891]  [<ffffffff81628220>] ? gs_change+0x13/0x13
> [22403.015895] ---[ end trace 768f569fb0306239 ]---
> [22403.015898] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.064892] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.094675] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.512902] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.703871] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.709637] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.721362] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.736999] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.794067] BTRFS warning (device dm-6): Aborting unused transaction.
> [22403.799009] BTRFS warning (device dm-6): Aborting unused transaction.
> [22404.035483] BTRFS warning (device dm-6): Aborting unused transaction.
> [22404.108751] BTRFS warning (device dm-6): Aborting unused transaction.
> 
> Best regards
> Arnd
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
  2012-05-14 15:05 ` David Sterba
  2012-05-14 16:16   ` Arnd Hannemann
@ 2012-05-17  9:06   ` Martin Mailand
  2012-05-22 16:07     ` Arnd Hannemann
  2012-06-25 16:12     ` 3.5.0-rc4: WARNING: at fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 (was: Re: 3.4.0-rc6:...) Arnd Hannemann
  1 sibling, 2 replies; 9+ messages in thread
From: Martin Mailand @ 2012-05-17  9:06 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Arnd Hannemann, liubo2009, dave

Hi,
I got the same Warning but triggered it differently, I created a new 
cephfs on top of btrfs via mkcephfs, the command than hangs.

[  100.643838] Btrfs loaded
[  100.644313] device fsid 49b89a47-76a0-45cf-9e4a-a7e1f4c64bb8 devid 1 
transid 4 /dev/sdc
[  100.645523] btrfs: setting nodatacow
[  100.645527] btrfs: enabling auto defrag
[  100.645529] btrfs: disk space caching is enabled
[  100.645531] btrfs flagging fs with big metadata feature
...

[ 2501.141664] ------------[ cut here ]------------
[ 2501.141700] WARNING: at fs/btrfs/super.c:219 
__btrfs_abort_transaction+0xae/0xc0 [btrfs]()
[ 2501.141714] Hardware name: X9SRi
[ 2501.141721] btrfs: Transaction aborted
[ 2501.141722] Modules linked in: btrfs zlib_deflate libcrc32c ext2 
bonding coretemp ghash_clmulni_intel aesni_intel cryptd aes_x86_64 
microcode sb_edac psmouse serio_raw edac_core joydev mei(C) ioatdma 
mac_hid lp parport ses enclosure usbhid isci hid libsas 
scsi_transport_sas megaraid_sas ixgbe igb mdio dca
[ 2501.141892] Pid: 12129, comm: ceph-osd Tainted: G         C 
3.4.0-rc7+ #10
[ 2501.141910] Call Trace:
[ 2501.141927]  [<ffffffff810504ef>] warn_slowpath_common+0x7f/0xc0
[ 2501.141945]  [<ffffffff810505e6>] warn_slowpath_fmt+0x46/0x50
[ 2501.141972]  [<ffffffffa01ffbde>] __btrfs_abort_transaction+0xae/0xc0 
[btrfs]
[ 2501.142024]  [<ffffffffa026913a>] ? 
btrfs_add_delayed_tree_ref+0x8a/0x1c0 [btrfs]
[ 2501.142090]  [<ffffffffa022b70b>] cow_file_range_inline+0x1bb/0x1c0 
[btrfs]
[ 2501.142137]  [<ffffffffa022b82f>] cow_file_range+0x11f/0x480 [btrfs]
[ 2501.142187]  [<ffffffffa024a31f>] ? free_extent_buffer+0x2f/0x70 [btrfs]
[ 2501.142235]  [<ffffffffa022bf77>] run_delalloc_nocow+0x3e7/0x8c0 [btrfs]
[ 2501.142281]  [<ffffffffa022c749>] run_delalloc_range+0x2f9/0x360 [btrfs]
[ 2501.142331]  [<ffffffffa024919d>] __extent_writepage+0x61d/0x760 [btrfs]
[ 2501.142366]  [<ffffffff81165f9f>] ? kmem_cache_free+0x2f/0x110
[ 2501.142412]  [<ffffffffa02495aa>] 
extent_write_cache_pages.isra.25.constprop.39+0x2ca/0x3f0 [btrfs]
[ 2501.142477]  [<ffffffffa0249915>] extent_writepages+0x45/0x60 [btrfs]
[ 2501.142524]  [<ffffffffa0228980>] ? btrfs_submit_direct+0x640/0x640 
[btrfs]
[ 2501.142570]  [<ffffffffa0226d08>] btrfs_writepages+0x28/0x30 [btrfs]
[ 2501.142604]  [<ffffffff81125b41>] do_writepages+0x21/0x40
[ 2501.142635]  [<ffffffff8111b18b>] __filemap_fdatawrite_range+0x5b/0x60
[ 2501.142669]  [<ffffffff8111c05c>] filemap_flush+0x1c/0x20
[ 2501.142713]  [<ffffffffa02328b9>] 
btrfs_start_delalloc_inodes+0xc9/0x1f0 [btrfs]
[ 2501.142763]  [<ffffffff8107cc13>] ? __wake_up+0x53/0x70
[ 2501.142806]  [<ffffffffa02244bd>] 
btrfs_commit_transaction+0x3bd/0xa60 [btrfs]
[ 2501.142856]  [<ffffffff810737c0>] ? add_wait_queue+0x60/0x60
[ 2501.142896]  [<ffffffffa020982a>] ? block_rsv_migrate_bytes+0x3a/0x50 
[btrfs]
[ 2501.142946]  [<ffffffffa0258106>] btrfs_mksubvol+0x356/0x3a0 [btrfs]
[ 2501.142991]  [<ffffffffa025827a>] 
btrfs_ioctl_snap_create_transid+0x12a/0x190 [btrfs]
[ 2501.143053]  [<ffffffffa0258336>] btrfs_ioctl_snap_create+0x56/0x80 
[btrfs]
[ 2501.143099]  [<ffffffffa025a40d>] btrfs_ioctl+0x44d/0x1320 [btrfs]
[ 2501.143134]  [<ffffffff81140dd8>] ? handle_mm_fault+0x1f8/0x310
[ 2501.143166]  [<ffffffff81189dd2>] ? do_filp_open+0x42/0xa0
[ 2501.143197]  [<ffffffff8118be98>] do_vfs_ioctl+0x98/0x550
[ 2501.143228]  [<ffffffff81165f9f>] ? kmem_cache_free+0x2f/0x110
[ 2501.143259]  [<ffffffff8118c3e1>] sys_ioctl+0x91/0xa0
[ 2501.143291]  [<ffffffff8165fd29>] system_call_fastpath+0x16/0x1b
[ 2501.143321] ---[ end trace 7d4c76238d6eae30 ]---
[ 2501.143350] BTRFS error (device sdc) in cow_file_range_inline:261: 
error 28
[ 2501.143381] btrfs is forced readonly
[ 2501.143407] BTRFS error (device sdc) in cow_file_range:871: error 28
[ 2501.143444] BTRFS error (device sdc) in run_delalloc_nocow:1333: error 28

btrfs filesystem df /data/osd.0/
Data: total=112.01GB, used=1.02MB
System, DUP: total=8.00MB, used=32.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=112.00GB, used=288.00KB
Metadata: total=8.00MB, used=0.00
e5:~$ df -h
Filesystem                  Size  Used Avail Use% Mounted on
/dev/mapper/redundant-root   85G  3,9G   77G   5% /
udev                         32G  4,0K   32G   1% /dev
tmpfs                        13G  292K   13G   1% /run
none                        5,0M     0  5,0M   0% /run/lock
none                         32G     0   32G   0% /run/shm
/dev/sda1                   228M   68M  148M  32% /boot
/dev/sdc                    5,5T  1,7M  5,3T   1% /data/osd.0
/dev/sdd                    5,5T  1,7M  5,3T   1% /data/osd.1
/dev/sde                    5,5T  1,6M  5,3T   1% /data/osd.2
/dev/sdf                    5,5T  1,7M  5,3T   1% /data/osd.3


Ceph command.

mkcephfs -c /etc/ceph/ceph.conf -a
temp dir is /tmp/mkcephfs.2kN76CD9ut
preparing monmap in /tmp/mkcephfs.2kN76CD9ut/monmap
/usr/bin/monmaptool --create --clobber --add a 192.168.125.10:6789 
--print /tmp/mkcephfs.2kN76CD9ut/monmap
/usr/bin/monmaptool: monmap file /tmp/mkcephfs.2kN76CD9ut/monmap
/usr/bin/monmaptool: generated fsid 65095718-4f08-43fe-b4e0-9e59960b630b
epoch 0
fsid 65095718-4f08-43fe-b4e0-9e59960b630b
last_changed 2012-05-17 10:47:32.238434
created 2012-05-17 10:47:32.238434
0: 192.168.125.10:6789/0 mon.a
/usr/bin/monmaptool: writing epoch 0 to /tmp/mkcephfs.2kN76CD9ut/monmap 
(1 monitors)
=== osd.0 ===
2012-05-17 10:47:32.384541 7fb09e0d7780 -1 filestore(/data/osd.0) 
leveldb db created

-martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
  2012-05-17  9:06   ` Martin Mailand
@ 2012-05-22 16:07     ` Arnd Hannemann
  2012-06-25 16:12     ` 3.5.0-rc4: WARNING: at fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 (was: Re: 3.4.0-rc6:...) Arnd Hannemann
  1 sibling, 0 replies; 9+ messages in thread
From: Arnd Hannemann @ 2012-05-22 16:07 UTC (permalink / raw)
  To: martin; +Cc: linux-btrfs, liubo2009, dave

Hi,

I just got the same warning on a fresh 3.4.0 final while booting.
This time on /usr/share (different filesystem from last time):

arnd@kallisto:~$ ls -l /dev/mapper/vg0-usr_share
lrwxrwxrwx 1 root root 7 Mai 22 17:59 /dev/mapper/vg0-usr_share -> ../dm-4
arnd@kallisto:~$ grep usr_share /proc/mounts
/dev/mapper/vg0-usr_share /usr/share btrfs rw,relatime,compress=zlib,ssd,nospace_cache 0 0

[   12.326239] ------------[ cut here ]------------
[   12.326264] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
[   12.326266] Hardware name: 4384GEG
[   12.326267] btrfs: Transaction aborted
[   12.326268] Modules linked in: joydev bridge stp llc kvm_intel kvm dm_crypt bnep rfcomm bluetooth binfmt_misc arc4 coretemp snd_hda_codec_hdmi snd_hda_codec_conexant thinkpad_acpi microcode snd_seq_midi psmouse snd_rawmidi serio_raw iwlwifi intel_ips qcserial usb_wwan usbserial mac80211 snd_hda_intel snd_seq_midi_event snd_hda_codec snd_seq snd_hwdep cfg80211 snd_seq_device snd_pcm snd_timer snd_page_alloc snd soundcore tpm_tis nvram mei(C) btrfs zlib_deflate libcrc32c mxm_wmi ghash_clmulni_intel aesni_intel cryptd aes_x86_64 i915 ahci libahci drm_kms_helper drm e1000e sdhci_pci sdhci firewire_ohci firewire_core i2c_algo_bit crc_itu_t video wmi
[   12.326297] Pid: 1471, comm: hybrid-detect Tainted: G         C   3.4.0aha+ #11
[   12.326298] Call Trace:
[   12.326305]  [<ffffffff8104e37f>] warn_slowpath_common+0x7f/0xc0
[   12.326307]  [<ffffffff8104e476>] warn_slowpath_fmt+0x46/0x50
[   12.326315]  [<ffffffffa01d37ec>] ? do_chunk_alloc.isra.71+0x31c/0x3f0 [btrfs]
[   12.326322]  [<ffffffffa01c3bde>] __btrfs_abort_transaction+0xae/0xc0 [btrfs]
[   12.326329]  [<ffffffffa01d44a5>] find_free_extent+0xbe5/0xc70 [btrfs]
[   12.326334]  [<ffffffff810125da>] ? __switch_to+0x17a/0x410
[   12.326341]  [<ffffffffa01d83fd>] btrfs_reserve_extent+0xed/0x250 [btrfs]
[   12.326350]  [<ffffffffa01d8a87>] btrfs_alloc_free_block+0x177/0x370 [btrfs]
[   12.326357]  [<ffffffffa01c6545>] __btrfs_cow_block+0x135/0x4d0 [btrfs]
[   12.326363]  [<ffffffffa01c69dc>] btrfs_cow_block+0xfc/0x220 [btrfs]
[   12.326370]  [<ffffffffa01ca9e4>] btrfs_search_slot+0x454/0x910 [btrfs]
[   12.326377]  [<ffffffffa01d4737>] ? reserve_metadata_bytes.isra.72+0x207/0x740 [btrfs]
[   12.326384]  [<ffffffffa01cc0bc>] btrfs_insert_empty_items+0x7c/0xe0 [btrfs]
[   12.326390]  [<ffffffffa01c586a>] ? btrfs_alloc_path+0x1a/0x20 [btrfs]
[   12.326401]  [<ffffffffa021fccf>] btrfs_insert_orphan_item+0x5f/0x90 [btrfs]
[   12.326429]  [<ffffffffa01ee155>] btrfs_orphan_add+0xc5/0x1c0 [btrfs]
[   12.326443]  [<ffffffffa01f22e6>] btrfs_truncate+0x146/0x650 [btrfs]
[   12.326449]  [<ffffffff812a21de>] ? security_inode_alloc+0x1e/0x20
[   12.326461]  [<ffffffffa01f4091>] btrfs_setattr+0xc1/0x1b0 [btrfs]
[   12.326464]  [<ffffffff8119074a>] notify_change+0x1aa/0x340
[   12.326467]  [<ffffffff811739fe>] do_truncate+0x5e/0xa0
[   12.326470]  [<ffffffff811833d1>] do_last+0x581/0x8f0
[   12.326472]  [<ffffffff81184ae2>] path_openat+0xd2/0x400
[   12.326474]  [<ffffffff81184f32>] do_filp_open+0x42/0xa0
[   12.326476]  [<ffffffff811918b1>] ? alloc_fd+0xd1/0x120
[   12.326478]  [<ffffffff811747a8>] do_sys_open+0xf8/0x1d0
[   12.326480]  [<ffffffff81173566>] ? filp_close+0x66/0x90
[   12.326482]  [<ffffffff811748a1>] sys_open+0x21/0x30
[   12.326485]  [<ffffffff81626f29>] system_call_fastpath+0x16/0x1b
[   12.326487] ---[ end trace 4479826ac6de5588 ]---
[   12.326489] BTRFS warning (device dm-4): Aborting unused transaction.

Best regards
Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* 3.5.0-rc4: WARNING: at fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 (was: Re: 3.4.0-rc6:...)
  2012-05-17  9:06   ` Martin Mailand
  2012-05-22 16:07     ` Arnd Hannemann
@ 2012-06-25 16:12     ` Arnd Hannemann
  1 sibling, 0 replies; 9+ messages in thread
From: Arnd Hannemann @ 2012-06-25 16:12 UTC (permalink / raw)
  To: martin; +Cc: linux-btrfs, liubo2009, dave

Hi,

still seeing this warning (well the line number changed) on 3.5.0 (rc4):

[   11.909589] ------------[ cut here ]------------
[   11.909616] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()
[   11.909617] Hardware name: 4384GEG
[   11.909619] btrfs: Transaction aborted
[   11.909648] Modules linked in: joydev deflate ctr bridge stp llc twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common camellia_generic camellia_x86_64 serpent_sse2_x86_64 lrw serpent_generic xts gf128mul blowfish_generic blowfish_x86_64 blowfish_common cast5 des_generic xcbc rmd160 sha512_generic crypto_null af_key xfrm_algo dm_crypt bnep rfcomm bluetooth binfmt_misc arc4 snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_intel snd_hda_codec snd_hwdep snd_pcm coretemp kvm_intel kvm snd_seq_midi snd_rawmidi thinkpad_acpi microcode snd_seq_midi_event qcserial usb_wwan usbserial snd_seq snd_timer psmouse snd_seq_device serio_raw intel_ips snd iwlwifi tpm_tis nvram lpc_ich soundcore mac80211 snd_page_alloc cfg80211 mei btrfs zlib_deflate libcrc32c mxm_wmi ghash_clmulni_intel aesni_intel cryptd aes_x86_64 i915 e1000e ahci libahci drm_kms_helper drm firewire_ohci i2c_algo_bit video firewire_core crc_itu_t wmi sdhci_pci sdhci
[   11.909651] Pid: 1509, comm: hybrid-detect Not tainted 3.5.0-rc4aha+ #6
[   11.909652] Call Trace:
[   11.909659]  [<ffffffff8105061f>] warn_slowpath_common+0x7f/0xc0
[   11.909661]  [<ffffffff81050716>] warn_slowpath_fmt+0x46/0x50
[   11.909669]  [<ffffffffa01c83e1>] ? do_chunk_alloc.isra.71+0x311/0x3f0 [btrfs]
[   11.909676]  [<ffffffffa01b6dde>] __btrfs_abort_transaction+0xae/0xc0 [btrfs]
[   11.909683]  [<ffffffffa01c90a5>] find_free_extent+0xbe5/0xc70 [btrfs]
[   11.909688]  [<ffffffff811239ed>] ? __free_pages+0x2d/0x40
[   11.909696]  [<ffffffffa01ccffd>] btrfs_reserve_extent+0xed/0x250 [btrfs]
[   11.909705]  [<ffffffffa01cd687>] btrfs_alloc_free_block+0x177/0x380 [btrfs]
[   11.909712]  [<ffffffffa01ba6c4>] __btrfs_cow_block+0x124/0x500 [btrfs]
[   11.909719]  [<ffffffffa01bab9c>] btrfs_cow_block+0xfc/0x220 [btrfs]
[   11.909726]  [<ffffffffa01bee04>] btrfs_search_slot+0x454/0x910 [btrfs]
[   11.909733]  [<ffffffffa01c9337>] ? reserve_metadata_bytes.isra.72+0x207/0x740 [btrfs]
[   11.909741]  [<ffffffffa01c0c5c>] btrfs_insert_empty_items+0x7c/0xe0 [btrfs]
[   11.909747]  [<ffffffffa01b979a>] ? btrfs_alloc_path+0x1a/0x20 [btrfs]
[   11.909758]  [<ffffffffa02155ef>] btrfs_insert_orphan_item+0x5f/0x90 [btrfs]
[   11.909768]  [<ffffffffa01e30eb>] btrfs_orphan_add+0xbb/0x180 [btrfs]
[   11.909778]  [<ffffffffa01e6fe0>] btrfs_truncate+0x140/0x650 [btrfs]
[   11.909782]  [<ffffffff8162abed>] ? mutex_lock+0x1d/0x50
[   11.909793]  [<ffffffffa01e8d3b>] btrfs_setattr+0xbb/0x1d0 [btrfs]
[   11.909797]  [<ffffffff81195b63>] notify_change+0x1c3/0x350
[   11.909801]  [<ffffffff81178cde>] do_truncate+0x5e/0xa0
[   11.909805]  [<ffffffff8118730d>] do_last+0x4cd/0x9e0
[   11.909808]  [<ffffffff81189b96>] path_openat+0xd6/0x440
[   11.909811]  [<ffffffff8118a022>] do_filp_open+0x42/0xa0
[   11.909814]  [<ffffffff81196cd1>] ? alloc_fd+0xd1/0x120
[   11.909816]  [<ffffffff81179ce8>] do_sys_open+0xf8/0x1d0
[   11.909819]  [<ffffffff811788d6>] ? filp_close+0x66/0x90
[   11.909820]  [<ffffffff81179de1>] sys_open+0x21/0x30
[   11.909824]  [<ffffffff816353e9>] system_call_fastpath+0x16/0x1b
[   11.909825] ---[ end trace 247ff970a7eff763 ]---
[   11.909827] BTRFS warning (device dm-4): Aborting unused transaction.

Best regards
Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-06-25 16:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-14 13:18 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]() Arnd Hannemann
2012-05-14 13:18 ` Arnd Hannemann
2012-05-14 15:05 ` David Sterba
2012-05-14 16:16   ` Arnd Hannemann
2012-05-17  9:06   ` Martin Mailand
2012-05-22 16:07     ` Arnd Hannemann
2012-06-25 16:12     ` 3.5.0-rc4: WARNING: at fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 (was: Re: 3.4.0-rc6:...) Arnd Hannemann
2012-05-15  1:39 ` 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]() Liu Bo
2012-05-15  1:39   ` Liu Bo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.