All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG_ON spams /var/log/messages with the same msg full
@ 2014-08-29 21:12 Toralf Förster
  2014-09-01 13:41 ` Liu Bo
  0 siblings, 1 reply; 6+ messages in thread
From: Toralf Förster @ 2014-08-29 21:12 UTC (permalink / raw)
  To: linux-btrfs

At as 32 bit KVM I run these 2 commands:

tfoerste@n22kvm ~ $ mkdir /mnt/ramdisk/btrfs; truncate -s 97M /mnt/ramdisk/btrfs.fs; /sbin/mkfs.btrfs /mnt/ramdisk/btrfs.fs; sudo su -c "mount -o loop,compress=lzo /mnt/ramdisk/btrfs.fs /mnt/ramdisk/btrfs; chmod 777 /mnt/ramdisk/btrfs"

tfoerste@n22kvm ~ $ D=/mnt/ramdisk/btrfs; while [[ : ]]; do cd ~; sudo rm -rf $D/t3; mkdir $D/t3 || break; cd $D/t3; mkdir -p v1/v2; for i in $(seq 0 99); do touch v1/v2/f$i; mkdir v1/v2/d$i; done; trinity -C 4 -N 100000 -V $D/t3/v1/v2; echo; echo " done"; echo; sleep 4; done



After a short while the syslog was flooded with :


Aug 29 23:08:29 n22kvm kernel: [ 1806.183425] ---[ end trace 8ef9caa1ec878927 ]---
Aug 29 23:08:29 n22kvm kernel: [ 1806.183427] ------------[ cut here ]------------
Aug 29 23:08:29 n22kvm kernel: [ 1806.183429] WARNING: CPU: 1 PID: 24838 at fs/btrfs/extent_io.c:430 insert_state+0x66/0x190()
Aug 29 23:08:29 n22kvm kernel: [ 1806.183430] BTRFS: end < start 4094 18446744073709551615
Aug 29 23:08:29 n22kvm kernel: [ 1806.183431] Modules linked in:
Aug 29 23:08:29 n22kvm kernel: [ 1806.183432] CPU: 1 PID: 24838 Comm: rm Tainted: G        W      3.17.0-rc2 #4
Aug 29 23:08:29 n22kvm kernel: [ 1806.183433] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org 04/01/2014
Aug 29 23:08:29 n22kvm kernel: [ 1806.183436]  00000000 00000000 e72c3d24 c16ee73d e72c3d64 e72c3d54 c10468ef c18e5650
Aug 29 23:08:29 n22kvm kernel: [ 1806.183439]  e72c3d80 00006106 c18f4d52 000001ae c1326756 c1326756 00000000 e72c3e18
Aug 29 23:08:29 n22kvm kernel: [ 1806.183443]  cc223dc0 e72c3d6c c104698e 00000009 e72c3d64 c18e5650 e72c3d80 e72c3db8
Aug 29 23:08:29 n22kvm kernel: [ 1806.183443] Call Trace:
Aug 29 23:08:29 n22kvm kernel: [ 1806.183445]  [<c16ee73d>] dump_stack+0x41/0x52
Aug 29 23:08:29 n22kvm kernel: [ 1806.183447]  [<c10468ef>] warn_slowpath_common+0x7f/0xa0
Aug 29 23:08:29 n22kvm kernel: [ 1806.183449]  [<c1326756>] ? insert_state+0x66/0x190
Aug 29 23:08:29 n22kvm kernel: [ 1806.183451]  [<c1326756>] ? insert_state+0x66/0x190
Aug 29 23:08:29 n22kvm kernel: [ 1806.183453]  [<c104698e>] warn_slowpath_fmt+0x2e/0x30
Aug 29 23:08:29 n22kvm kernel: [ 1806.183454]  [<c1326756>] insert_state+0x66/0x190
Aug 29 23:08:29 n22kvm kernel: [ 1806.183457]  [<c1326dc9>] __set_extent_bit+0x549/0x5f0
Aug 29 23:08:29 n22kvm kernel: [ 1806.183459]  [<c1327e3c>] lock_extent_bits+0x6c/0x200
Aug 29 23:08:29 n22kvm kernel: [ 1806.183461]  [<c1313d8e>] ? btrfs_evict_inode+0xee/0x540
Aug 29 23:08:29 n22kvm kernel: [ 1806.183464]  [<c1313db8>] btrfs_evict_inode+0x118/0x540
Aug 29 23:08:29 n22kvm kernel: [ 1806.183466]  [<c1161877>] evict+0x97/0x150
Aug 29 23:08:29 n22kvm kernel: [ 1806.183467]  [<c1161e9a>] iput+0xda/0x170
Aug 29 23:08:29 n22kvm kernel: [ 1806.183469]  [<c1154708>] do_unlinkat+0xf8/0x230
Aug 29 23:08:29 n22kvm kernel: [ 1806.183471]  [<c10cc62c>] ? __audit_syscall_entry+0x9c/0xf0
Aug 29 23:08:29 n22kvm kernel: [ 1806.183473]  [<c11578ce>] SyS_unlinkat+0x1e/0x40
Aug 29 23:08:29 n22kvm kernel: [ 1806.183476]  [<c16f656b>] sysenter_do_call+0x12/0x12
Aug 29 23:08:29 n22kvm kernel: [ 1806.183477] ---[ end trace 8ef9caa1ec878928 ]---
Aug 29 23:08:29 n22kvm kernel: [ 1806.183479] ------------[ cut here ]------------

-- 
Toralf
pgp key: 0076 E94E


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

* Re: BUG_ON spams /var/log/messages with the same msg full
  2014-08-29 21:12 BUG_ON spams /var/log/messages with the same msg full Toralf Förster
@ 2014-09-01 13:41 ` Liu Bo
  2014-09-01 19:37   ` Toralf Förster
  2014-09-13 14:41   ` Toralf Förster
  0 siblings, 2 replies; 6+ messages in thread
From: Liu Bo @ 2014-09-01 13:41 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-btrfs

On Fri, Aug 29, 2014 at 11:12:28PM +0200, Toralf Förster wrote:
> At as 32 bit KVM I run these 2 commands:
> 
> tfoerste@n22kvm ~ $ mkdir /mnt/ramdisk/btrfs; truncate -s 97M /mnt/ramdisk/btrfs.fs; /sbin/mkfs.btrfs /mnt/ramdisk/btrfs.fs; sudo su -c "mount -o loop,compress=lzo /mnt/ramdisk/btrfs.fs /mnt/ramdisk/btrfs; chmod 777 /mnt/ramdisk/btrfs"
> 
> tfoerste@n22kvm ~ $ D=/mnt/ramdisk/btrfs; while [[ : ]]; do cd ~; sudo rm -rf $D/t3; mkdir $D/t3 || break; cd $D/t3; mkdir -p v1/v2; for i in $(seq 0 99); do touch v1/v2/f$i; mkdir v1/v2/d$i; done; trinity -C 4 -N 100000 -V $D/t3/v1/v2; echo; echo " done"; echo; sleep 4; done
> 
> 
> 
> After a short while the syslog was flooded with :

I believe that this warning of btrfs_evict_inode also comes from a result of
lseek, and Chris said that he's prepared a fix for that, so it's queued in the
next version.

thanks,
-liubo

> 
> 
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183425] ---[ end trace 8ef9caa1ec878927 ]---
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183427] ------------[ cut here ]------------
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183429] WARNING: CPU: 1 PID: 24838 at fs/btrfs/extent_io.c:430 insert_state+0x66/0x190()
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183430] BTRFS: end < start 4094 18446744073709551615
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183431] Modules linked in:
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183432] CPU: 1 PID: 24838 Comm: rm Tainted: G        W      3.17.0-rc2 #4
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183433] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org 04/01/2014
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183436]  00000000 00000000 e72c3d24 c16ee73d e72c3d64 e72c3d54 c10468ef c18e5650
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183439]  e72c3d80 00006106 c18f4d52 000001ae c1326756 c1326756 00000000 e72c3e18
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183443]  cc223dc0 e72c3d6c c104698e 00000009 e72c3d64 c18e5650 e72c3d80 e72c3db8
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183443] Call Trace:
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183445]  [<c16ee73d>] dump_stack+0x41/0x52
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183447]  [<c10468ef>] warn_slowpath_common+0x7f/0xa0
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183449]  [<c1326756>] ? insert_state+0x66/0x190
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183451]  [<c1326756>] ? insert_state+0x66/0x190
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183453]  [<c104698e>] warn_slowpath_fmt+0x2e/0x30
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183454]  [<c1326756>] insert_state+0x66/0x190
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183457]  [<c1326dc9>] __set_extent_bit+0x549/0x5f0
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183459]  [<c1327e3c>] lock_extent_bits+0x6c/0x200
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183461]  [<c1313d8e>] ? btrfs_evict_inode+0xee/0x540
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183464]  [<c1313db8>] btrfs_evict_inode+0x118/0x540
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183466]  [<c1161877>] evict+0x97/0x150
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183467]  [<c1161e9a>] iput+0xda/0x170
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183469]  [<c1154708>] do_unlinkat+0xf8/0x230
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183471]  [<c10cc62c>] ? __audit_syscall_entry+0x9c/0xf0
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183473]  [<c11578ce>] SyS_unlinkat+0x1e/0x40
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183476]  [<c16f656b>] sysenter_do_call+0x12/0x12
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183477] ---[ end trace 8ef9caa1ec878928 ]---
> Aug 29 23:08:29 n22kvm kernel: [ 1806.183479] ------------[ cut here ]------------
> 
> -- 
> Toralf
> pgp key: 0076 E94E
> 
> --
> 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] 6+ messages in thread

* Re: BUG_ON spams /var/log/messages with the same msg full
  2014-09-01 13:41 ` Liu Bo
@ 2014-09-01 19:37   ` Toralf Förster
  2014-09-02 20:52     ` Chris Samuel
  2014-09-13 14:41   ` Toralf Förster
  1 sibling, 1 reply; 6+ messages in thread
From: Toralf Förster @ 2014-09-01 19:37 UTC (permalink / raw)
  To: bo.li.liu; +Cc: linux-btrfs

On 09/01/2014 03:41 PM, Liu Bo wrote:
> I believe that this warning of btrfs_evict_inode also comes from a result of
> lseek, and Chris said that he's prepared a fix for that, so it's queued in the
> next version.
> 
> thanks,
> -liubo

Ah thx, it seems that fix does not made it in -rc3, so -rc4 would be a better choice for a re-test, or ?


-- 
Toralf
pgp key: 0076 E94E


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

* Re: BUG_ON spams /var/log/messages with the same msg full
  2014-09-01 19:37   ` Toralf Förster
@ 2014-09-02 20:52     ` Chris Samuel
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Samuel @ 2014-09-02 20:52 UTC (permalink / raw)
  To: linux-btrfs

On Mon, 1 Sep 2014 09:37:54 PM Toralf Förster wrote:

> Ah thx, it seems that fix does not made it in -rc3, so -rc4 would be a
> better choice for a re-test, or ?

It all depends on what Chris Mason sends to Linus, and what Linus chooses to 
accept.

Your best bet is to watch the mailing list for the PULL requests to Linus and 
any response, and pull Linus's git tree to see what lands when.

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC



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

* Re: BUG_ON spams /var/log/messages with the same msg full
  2014-09-01 13:41 ` Liu Bo
  2014-09-01 19:37   ` Toralf Förster
@ 2014-09-13 14:41   ` Toralf Förster
  2014-09-16 14:40     ` Liu Bo
  1 sibling, 1 reply; 6+ messages in thread
From: Toralf Förster @ 2014-09-13 14:41 UTC (permalink / raw)
  To: bo.li.liu; +Cc: linux-btrfs

On 09/01/2014 03:41 PM, Liu Bo wrote:
> I believe that this warning of btrfs_evict_inode also comes from a result of
> lseek, and Chris said that he's prepared a fix for that, so it's queued in the
> next version.
> 
> thanks,
> -liubo

So rather fixed in -rc6 because v3.17-rc4-337-gfc486b0 still suffers from this issue ?

-- 
Toralf
pgp key: 0076 E94E


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

* Re: BUG_ON spams /var/log/messages with the same msg full
  2014-09-13 14:41   ` Toralf Förster
@ 2014-09-16 14:40     ` Liu Bo
  0 siblings, 0 replies; 6+ messages in thread
From: Liu Bo @ 2014-09-16 14:40 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-btrfs

On Sat, Sep 13, 2014 at 04:41:00PM +0200, Toralf Förster wrote:
> On 09/01/2014 03:41 PM, Liu Bo wrote:
> > I believe that this warning of btrfs_evict_inode also comes from a result of
> > lseek, and Chris said that he's prepared a fix for that, so it's queued in the
> > next version.
> > 
> > thanks,
> > -liubo
> 
> So rather fixed in -rc6 because v3.17-rc4-337-gfc486b0 still suffers from this issue ?

Sorry for the trouble.
I think I might misunderstand his words, so I just sent a real fix instead.

thanks,
-liubo

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

end of thread, other threads:[~2014-09-16 14:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29 21:12 BUG_ON spams /var/log/messages with the same msg full Toralf Förster
2014-09-01 13:41 ` Liu Bo
2014-09-01 19:37   ` Toralf Förster
2014-09-02 20:52     ` Chris Samuel
2014-09-13 14:41   ` Toralf Förster
2014-09-16 14:40     ` 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.