xfs
[Top] [All Lists]

Re: XFS: Assertion failed: bp->b_flags & XBF_ASYNC, file: fs/xfs/xfs_buf

To: Brian Foster <bfoster@xxxxxxxxxx>
Subject: Re: XFS: Assertion failed: bp->b_flags & XBF_ASYNC, file: fs/xfs/xfs_buf.c, line: 118 on 4.8-rc1 kernel
From: Eryu Guan <eguan@xxxxxxxxxx>
Date: Sat, 13 Aug 2016 14:50:56 +0800
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160812170714.GA64450@xxxxxxxxxxxxxxx>
References: <20160812140414.GV27776@xxxxxxxxxxxxxxxxxxxxxxxx> <20160812144752.GW27776@xxxxxxxxxxxxxxxxxxxxxxxx> <20160812170714.GA64450@xxxxxxxxxxxxxxx>
User-agent: Mutt/1.6.1 (2016-04-27)
On Fri, Aug 12, 2016 at 01:07:15PM -0400, Brian Foster wrote:
> On Fri, Aug 12, 2016 at 10:47:52PM +0800, Eryu Guan wrote:
> > On Fri, Aug 12, 2016 at 10:04:14PM +0800, Eryu Guan wrote:
> > > Hi,
> > > 
> > > I hit oops while building kernel on XFS, 4.8-rc1 kernel, hit twice in
> > > six kernel builds. I'm not sure if it's a regression since 4.7 kernel
> > > yet, will do more testings.
> > 
> > Just hit again on 4.8-rc1 kernel, I was doing
> > 
> > # clean partial builds from previous run and build again
> > make clean
> > make -j 8
> > 
> > Seems I have to do kernel build on 4.7 kernel to finish the bisect.
> > 
> > Thanks,
> > Eryu
> > 
> > [ 2515.752039] XFS: Assertion failed: bp->b_flags & XBF_ASYNC, file: 
> > fs/xfs/xfs_buf.c, line: 118
> 
> This is commit 9c7504aa7 ("xfs: track and serialize in-flight async
> buffers against unmount"). The assert is actually incorrect, as Dave had
> previously pointed out[1]. A patch was posted[2] to fix it, but hasn't
> been merged yet.
> 
> Brian
> 
> [1] http://oss.sgi.com/pipermail/xfs/2016-August/050613.html
> [2] http://oss.sgi.com/pipermail/xfs/2016-August/050634.html

Thanks for the reminder, I had impression of this thread and patch, but
didn't realize I was hitting the same problem. I don't have to do bisect
then :)

Thanks,
Eryu

<Prev in Thread] Current Thread [Next in Thread>