All of lore.kernel.org
 help / color / mirror / Atom feed
* generic/388 panic
@ 2018-04-23 12:36 Carlos Maiolino
  2018-04-23 20:03 ` Darrick J. Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos Maiolino @ 2018-04-23 12:36 UTC (permalink / raw)
  To: linux-xfs; +Cc: darrick.wong

Hi.

Past week Darrick mentioned to me a problem he has been seen with generic/388
hanging on XFS filesystems with quotas enabled.

I couldn't hit something hanging until now, but I'm sporadically seeing some
kernel panics after running generic/388 in a loop:

[ 5913.170041] Kernel panic - not syncing: xfs_bmap_check_leaf_extents: CORRUPTED BTREE OR SOMETHING
[ 5913.176441] CPU: 2 PID: 24611 Comm: fsstress Kdump: loaded Not tainted 4.17.0-rc1t450s #94
[ 5913.178443] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-2.fc27 04/01/2014
[ 5913.184533] Call Trace:
[ 5913.185400]  dump_stack+0x5c/0x7b
[ 5913.190164]  panic+0xe4/0x252
[ 5913.190644]  xfs_bmap_check_leaf_extents+0x323/0x5c0
[ 5913.191365]  xfs_bmap_add_extent_hole_real+0x7b0/0xa60
[ 5913.192106]  xfs_bmapi_write+0xb2e/0x12e0
[ 5913.192716]  xfs_qm_dqalloc+0x176/0x350
[ 5913.193292]  ? xfs_bmapi_read+0x1e0/0x3e0
[ 5913.193919]  xfs_qm_dqtobp+0x1e0/0x410
[ 5913.195406]  xfs_qm_dqread+0x19b/0x420
[ 5913.196028]  xfs_qm_dqget+0x417/0x7b0
[ 5913.196610]  xfs_qm_vop_dqalloc+0x156/0x5b0
[ 5913.198640]  xfs_setattr_nonsize+0x2fd/0x6d0
[ 5913.202750]  notify_change+0x303/0x420
[ 5913.206278]  chown_common.isra.17+0xec/0x1a0
[ 5913.207945]  do_fchownat+0xd3/0xf0
[ 5913.208633]  __x64_sys_lchown+0x21/0x30
[ 5913.210993]  do_syscall_64+0x5b/0x180
[ 5913.213991]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 5913.215453] RIP: 0033:0x7fa4ff459397
[ 5913.215958] RSP: 002b:00007fff311d65e8 EFLAGS: 00000206 ORIG_RAX: 000000000000005e
[ 5913.225089] RAX: ffffffffffffffda RBX: 000000000009db9c RCX: 00007fa4ff459397
[ 5913.234352] RDX: 000000000009db9c RSI: 0000000000099ef5 RDI: 000000000116b170
[ 5913.244177] RBP: 00007fff311d6740 R08: 0000000000000010 R09: 00007fff311d673c
[ 5913.247929] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000099ef5
[ 5913.249091] R13: 000000000009db9c R14: 0000000000000000 R15: 0000000000000000


Darrick, is this something similar with what you have mentioned? Or is this
something different?

Cheers

-- 
Carlos

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

* Re: generic/388 panic
  2018-04-23 12:36 generic/388 panic Carlos Maiolino
@ 2018-04-23 20:03 ` Darrick J. Wong
  2018-04-24  8:04   ` Carlos Maiolino
  0 siblings, 1 reply; 4+ messages in thread
From: Darrick J. Wong @ 2018-04-23 20:03 UTC (permalink / raw)
  To: linux-xfs

On Mon, Apr 23, 2018 at 02:36:02PM +0200, Carlos Maiolino wrote:
> Hi.
> 
> Past week Darrick mentioned to me a problem he has been seen with generic/388
> hanging on XFS filesystems with quotas enabled.
> 
> I couldn't hit something hanging until now, but I'm sporadically seeing some
> kernel panics after running generic/388 in a loop:
> 
> [ 5913.170041] Kernel panic - not syncing: xfs_bmap_check_leaf_extents: CORRUPTED BTREE OR SOMETHING

Yep, that's one of the things I'm seeing.  It seems easier to make it
reproduce if you turn on rmap and reflink too....

--D

> [ 5913.176441] CPU: 2 PID: 24611 Comm: fsstress Kdump: loaded Not tainted 4.17.0-rc1t450s #94
> [ 5913.178443] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-2.fc27 04/01/2014
> [ 5913.184533] Call Trace:
> [ 5913.185400]  dump_stack+0x5c/0x7b
> [ 5913.190164]  panic+0xe4/0x252
> [ 5913.190644]  xfs_bmap_check_leaf_extents+0x323/0x5c0
> [ 5913.191365]  xfs_bmap_add_extent_hole_real+0x7b0/0xa60
> [ 5913.192106]  xfs_bmapi_write+0xb2e/0x12e0
> [ 5913.192716]  xfs_qm_dqalloc+0x176/0x350
> [ 5913.193292]  ? xfs_bmapi_read+0x1e0/0x3e0
> [ 5913.193919]  xfs_qm_dqtobp+0x1e0/0x410
> [ 5913.195406]  xfs_qm_dqread+0x19b/0x420
> [ 5913.196028]  xfs_qm_dqget+0x417/0x7b0
> [ 5913.196610]  xfs_qm_vop_dqalloc+0x156/0x5b0
> [ 5913.198640]  xfs_setattr_nonsize+0x2fd/0x6d0
> [ 5913.202750]  notify_change+0x303/0x420
> [ 5913.206278]  chown_common.isra.17+0xec/0x1a0
> [ 5913.207945]  do_fchownat+0xd3/0xf0
> [ 5913.208633]  __x64_sys_lchown+0x21/0x30
> [ 5913.210993]  do_syscall_64+0x5b/0x180
> [ 5913.213991]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> [ 5913.215453] RIP: 0033:0x7fa4ff459397
> [ 5913.215958] RSP: 002b:00007fff311d65e8 EFLAGS: 00000206 ORIG_RAX: 000000000000005e
> [ 5913.225089] RAX: ffffffffffffffda RBX: 000000000009db9c RCX: 00007fa4ff459397
> [ 5913.234352] RDX: 000000000009db9c RSI: 0000000000099ef5 RDI: 000000000116b170
> [ 5913.244177] RBP: 00007fff311d6740 R08: 0000000000000010 R09: 00007fff311d673c
> [ 5913.247929] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000099ef5
> [ 5913.249091] R13: 000000000009db9c R14: 0000000000000000 R15: 0000000000000000
> 
> 
> Darrick, is this something similar with what you have mentioned? Or is this
> something different?
> 
> Cheers
> 
> -- 
> Carlos
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" 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] 4+ messages in thread

* Re: generic/388 panic
  2018-04-23 20:03 ` Darrick J. Wong
@ 2018-04-24  8:04   ` Carlos Maiolino
  2018-05-04  5:03     ` Darrick J. Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos Maiolino @ 2018-04-24  8:04 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: linux-xfs

On Mon, Apr 23, 2018 at 01:03:53PM -0700, Darrick J. Wong wrote:
> On Mon, Apr 23, 2018 at 02:36:02PM +0200, Carlos Maiolino wrote:
> > Hi.
> > 
> > Past week Darrick mentioned to me a problem he has been seen with generic/388
> > hanging on XFS filesystems with quotas enabled.
> > 
> > I couldn't hit something hanging until now, but I'm sporadically seeing some
> > kernel panics after running generic/388 in a loop:
> > 
> > [ 5913.170041] Kernel panic - not syncing: xfs_bmap_check_leaf_extents: CORRUPTED BTREE OR SOMETHING
> 
> Yep, that's one of the things I'm seeing.  It seems easier to make it
> reproduce if you turn on rmap and reflink too....

K, I'll try it and see wth is going on, thanks for confirming.

Cheers

> 
> --D
> 
> > [ 5913.176441] CPU: 2 PID: 24611 Comm: fsstress Kdump: loaded Not tainted 4.17.0-rc1t450s #94
> > [ 5913.178443] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-2.fc27 04/01/2014
> > [ 5913.184533] Call Trace:
> > [ 5913.185400]  dump_stack+0x5c/0x7b
> > [ 5913.190164]  panic+0xe4/0x252
> > [ 5913.190644]  xfs_bmap_check_leaf_extents+0x323/0x5c0
> > [ 5913.191365]  xfs_bmap_add_extent_hole_real+0x7b0/0xa60
> > [ 5913.192106]  xfs_bmapi_write+0xb2e/0x12e0
> > [ 5913.192716]  xfs_qm_dqalloc+0x176/0x350
> > [ 5913.193292]  ? xfs_bmapi_read+0x1e0/0x3e0
> > [ 5913.193919]  xfs_qm_dqtobp+0x1e0/0x410
> > [ 5913.195406]  xfs_qm_dqread+0x19b/0x420
> > [ 5913.196028]  xfs_qm_dqget+0x417/0x7b0
> > [ 5913.196610]  xfs_qm_vop_dqalloc+0x156/0x5b0
> > [ 5913.198640]  xfs_setattr_nonsize+0x2fd/0x6d0
> > [ 5913.202750]  notify_change+0x303/0x420
> > [ 5913.206278]  chown_common.isra.17+0xec/0x1a0
> > [ 5913.207945]  do_fchownat+0xd3/0xf0
> > [ 5913.208633]  __x64_sys_lchown+0x21/0x30
> > [ 5913.210993]  do_syscall_64+0x5b/0x180
> > [ 5913.213991]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> > [ 5913.215453] RIP: 0033:0x7fa4ff459397
> > [ 5913.215958] RSP: 002b:00007fff311d65e8 EFLAGS: 00000206 ORIG_RAX: 000000000000005e
> > [ 5913.225089] RAX: ffffffffffffffda RBX: 000000000009db9c RCX: 00007fa4ff459397
> > [ 5913.234352] RDX: 000000000009db9c RSI: 0000000000099ef5 RDI: 000000000116b170
> > [ 5913.244177] RBP: 00007fff311d6740 R08: 0000000000000010 R09: 00007fff311d673c
> > [ 5913.247929] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000099ef5
> > [ 5913.249091] R13: 000000000009db9c R14: 0000000000000000 R15: 0000000000000000
> > 
> > 
> > Darrick, is this something similar with what you have mentioned? Or is this
> > something different?
> > 
> > Cheers
> > 
> > -- 
> > Carlos
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Carlos

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

* Re: generic/388 panic
  2018-04-24  8:04   ` Carlos Maiolino
@ 2018-05-04  5:03     ` Darrick J. Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2018-05-04  5:03 UTC (permalink / raw)
  To: linux-xfs

On Tue, Apr 24, 2018 at 10:04:14AM +0200, Carlos Maiolino wrote:
> On Mon, Apr 23, 2018 at 01:03:53PM -0700, Darrick J. Wong wrote:
> > On Mon, Apr 23, 2018 at 02:36:02PM +0200, Carlos Maiolino wrote:
> > > Hi.
> > > 
> > > Past week Darrick mentioned to me a problem he has been seen with generic/388
> > > hanging on XFS filesystems with quotas enabled.
> > > 
> > > I couldn't hit something hanging until now, but I'm sporadically seeing some
> > > kernel panics after running generic/388 in a loop:
> > > 
> > > [ 5913.170041] Kernel panic - not syncing: xfs_bmap_check_leaf_extents: CORRUPTED BTREE OR SOMETHING
> > 
> > Yep, that's one of the things I'm seeing.  It seems easier to make it
> > reproduce if you turn on rmap and reflink too....
> 
> K, I'll try it and see wth is going on, thanks for confirming.

FWIW I think I've fixed this with "xfs: release new dquot buffer on
defer_finish error" that's on the list now.

--D

> 
> Cheers
> 
> > 
> > --D
> > 
> > > [ 5913.176441] CPU: 2 PID: 24611 Comm: fsstress Kdump: loaded Not tainted 4.17.0-rc1t450s #94
> > > [ 5913.178443] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-2.fc27 04/01/2014
> > > [ 5913.184533] Call Trace:
> > > [ 5913.185400]  dump_stack+0x5c/0x7b
> > > [ 5913.190164]  panic+0xe4/0x252
> > > [ 5913.190644]  xfs_bmap_check_leaf_extents+0x323/0x5c0
> > > [ 5913.191365]  xfs_bmap_add_extent_hole_real+0x7b0/0xa60
> > > [ 5913.192106]  xfs_bmapi_write+0xb2e/0x12e0
> > > [ 5913.192716]  xfs_qm_dqalloc+0x176/0x350
> > > [ 5913.193292]  ? xfs_bmapi_read+0x1e0/0x3e0
> > > [ 5913.193919]  xfs_qm_dqtobp+0x1e0/0x410
> > > [ 5913.195406]  xfs_qm_dqread+0x19b/0x420
> > > [ 5913.196028]  xfs_qm_dqget+0x417/0x7b0
> > > [ 5913.196610]  xfs_qm_vop_dqalloc+0x156/0x5b0
> > > [ 5913.198640]  xfs_setattr_nonsize+0x2fd/0x6d0
> > > [ 5913.202750]  notify_change+0x303/0x420
> > > [ 5913.206278]  chown_common.isra.17+0xec/0x1a0
> > > [ 5913.207945]  do_fchownat+0xd3/0xf0
> > > [ 5913.208633]  __x64_sys_lchown+0x21/0x30
> > > [ 5913.210993]  do_syscall_64+0x5b/0x180
> > > [ 5913.213991]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> > > [ 5913.215453] RIP: 0033:0x7fa4ff459397
> > > [ 5913.215958] RSP: 002b:00007fff311d65e8 EFLAGS: 00000206 ORIG_RAX: 000000000000005e
> > > [ 5913.225089] RAX: ffffffffffffffda RBX: 000000000009db9c RCX: 00007fa4ff459397
> > > [ 5913.234352] RDX: 000000000009db9c RSI: 0000000000099ef5 RDI: 000000000116b170
> > > [ 5913.244177] RBP: 00007fff311d6740 R08: 0000000000000010 R09: 00007fff311d673c
> > > [ 5913.247929] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000099ef5
> > > [ 5913.249091] R13: 000000000009db9c R14: 0000000000000000 R15: 0000000000000000
> > > 
> > > 
> > > Darrick, is this something similar with what you have mentioned? Or is this
> > > something different?
> > > 
> > > Cheers
> > > 
> > > -- 
> > > Carlos
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> -- 
> Carlos

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

end of thread, other threads:[~2018-05-04  5:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 12:36 generic/388 panic Carlos Maiolino
2018-04-23 20:03 ` Darrick J. Wong
2018-04-24  8:04   ` Carlos Maiolino
2018-05-04  5:03     ` Darrick J. Wong

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.