public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: linux-xfs@vger.kernel.org
Subject: Re: generic/388 panic
Date: Thu, 3 May 2018 22:03:20 -0700	[thread overview]
Message-ID: <20180504050320.GJ4141@magnolia> (raw)
In-Reply-To: <20180424080414.ciiotbnhycjbmdn3@odin.usersys.redhat.com>

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

      reply	other threads:[~2018-05-04  5:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180504050320.GJ4141@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox