On Fri, Oct 14, 2022 at 10:24:29AM +0800, Shiyang Ruan wrote:
>
>
> 在 2022/10/14 2:30, Darrick J. Wong 写道:
> > On Thu, Sep 29, 2022 at 12:05:14PM -0700, Darrick J. Wong wrote:
> > > On Wed, Sep 28, 2022 at 10:46:17PM +0800, Shiyang Ruan wrote:
> > > >
> ...
> > > > >
> > > > > > FWIW I saw dmesg failures in xfs/517 and xfs/013 starting with
> > > > > > 6.0-rc5,
> > > > > > and I haven't even turned on reflink yet:
> > > > > >
> > > > > > run fstests xfs/517 at 2022-09-26 19:53:34
> > > > > > XFS (pmem1): EXPERIMENTAL Large extent counts feature in use. Use
> > > > > > at your own risk!
> > > > > > XFS (pmem1): Mounting V5 Filesystem
> > > > > > XFS (pmem1): Ending clean mount
> > > > > > XFS (pmem1): Quotacheck needed: Please wait.
> > > > > > XFS (pmem1): Quotacheck: Done.
> > > > > > XFS (pmem1): Unmounting Filesystem
> > > > > > XFS (pmem0): EXPERIMENTAL online scrub feature in use. Use at your
> > > > > > own risk!
> > > > > > XFS (pmem1): EXPERIMENTAL Large extent counts feature in use. Use
> > > > > > at your own risk!
> > > > > > XFS (pmem1): Mounting V5 Filesystem
> > > > > > XFS (pmem1): Ending clean mount
> > > > > > XFS (pmem1): Quotacheck needed: Please wait.
> > > > > > XFS (pmem1): Quotacheck: Done.
> > > > > > [ cut here ]
> > > > > > WARNING: CPU: 1 PID: 415317 at fs/dax.c:380
> > > > > > dax_insert_entry+0x22d/0x320
> >
> > Ping?
> >
> > This time around I replaced the WARN_ON with this:
> >
> > if (page->mapping)
> > printk(KERN_ERR "%s:%d ino 0x%lx index 0x%lx page 0x%llx
> > mapping 0x%llx <- 0x%llx\n", __func__, __LINE__, mapping->host->i_ino,
> > index + i, (unsigned long long)page, (unsigned long long)page->mapping,
> > (unsigned long long)mapping);
> >
> > and promptly started seeing scary things like this:
> >
> > [ 37.576598] dax_associate_entry:381 ino 0x1807870 index 0x370 page
> > 0xea00133f1480 mapping 0x1 <- 0x888042fbb528
> > [ 37.577570] dax_associate_entry:381 ino 0x1807870 index 0x371 page
> > 0xea00133f1500 mapping 0x1 <- 0x888042fbb528
> > [ 37.698657] dax_associate_entry:381 ino 0x180044a index 0x5f8 page
> > 0xea0013244900 mapping 0x888042eaf128 <- 0x888042dda128
> > [ 37.699349] dax_associate_entry:381 ino 0x800808 index 0x136 page
> > 0xea0013245640 mapping 0x888042eaf128 <- 0x888042d3ce28
> > [ 37.699680] dax_associate_entry:381 ino 0x180044a index 0x5f9 page
> > 0xea0013245680 mapping 0x888042eaf128 <- 0x888042dda128
> > [ 37.700684] dax_associate_entry:381 ino 0x800808 index 0x137 page
> > 0xea00132456c0 mapping 0x888042eaf128 <- 0x888042d3ce28
> > [ 37.701611] dax_associate_entry:381 ino 0x180044a index 0x5fa page
> > 0xea0013245700 mapping 0x888042eaf128 <- 0x888042dda128
> > [ 37.764126] dax_associate_entry:381 ino 0x103c52c index 0x28a page
> > 0xea001345afc0 mapping 0x1 <- 0x888019c14928
> > [ 37.765078] dax_associate_entry:381 ino 0x103c52c index 0x28b page
> > 0xea001345b000 mapping 0x1 <- 0x888019c14928
> > [ 39.193523] dax_associate_entry:381 ino 0x184657f index 0x124 page
> > 0xea000e2a4440 mapping 0x8880120d7628 <- 0x888019ca3528
> > [ 39.194692] dax_associate_entry:381 ino 0x184657f index 0x125 page
> > 0xea000e2a4480 mapping 0x8880120d7628 <- 0x888019ca3528
> > [ 39.195716] dax_associate_entry:381 ino 0x184657f index 0x126 page
> > 0xea000e2a44c0 mapping 0x8880120d7628 <- 0x888019ca3528
> > [ 39.196736] dax_associate_entry:381 ino 0x184657f index 0x127 page
> > 0xea000e2a4500 mapping 0x8880120d7628 <- 0x888019ca3528
> > [ 39.197906] dax_associate_entry:381 ino 0x184657f index 0x128 page
> > 0xea000e2a5040 mapping 0x8880120d7628 <- 0x888019ca3528
> > [ 39.198924] dax_associate_entry:381 ino 0x184657f index 0x129 page
> > 0xea000e2a5080 mapping 0x8880120d7628 <- 0x888019ca3528
> > [ 39.247053] dax_associate_entry:381 ino 0x5dd1e index 0x2d page
> > 0xea0015a0e640 mapping 0x1 <- 0x88804af88828
> > [ 39.248006] dax_associate_entry:381 ino 0x5dd1e index 0x2e page
> > 0xea0015a0e680 mapping 0x1 <- 0x88804af88828
> > [ 39.490880] dax_associate_entry:381 ino 0x1a9dc index 0x7d page
> > 0xea000e7012c0 mapping 0x888042fd1728 <- 0x88804afaec28
> > [ 39.492038] dax_associate_entry:381 ino 0x1a9dc index 0x7e page
> > 0xea000e701300 mapping 0x888042fd1728 <- 0x88804afaec28
> > [ 39.493099] dax_associate_entry:381 ino 0x1a9dc index 0x7f page
> > 0xea000e701340 mapping 0x888042fd1728 <- 0x88804afaec28
> > [ 40.926247] dax_associate_entry:381 ino 0x182e265 index 0x54c page
> > 0xea0015da0840 mapping 0x1 <- 0x888019c0dd28
> > [ 41.675459] dax_associate_entry:381 ino 0x15e5d index 0x29 page
> > 0xea000e4350c0 mapping 0x1 <- 0x888019c05828
> > [ 41.676418] dax_associate_entry:381 ino 0x15e5d index 0x2a page
> >