Re: [GIT PULL] NVDIMM for 6.1

2022-10-14 Thread pr-tracker-bot
The pull request you sent on Fri, 14 Oct 2022 16:44:03 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm 
> tags/libnvdimm-for-6.1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/19d17ab7c68b62180e0537f92400a6f798019775

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html



[GIT PULL] NVDIMM for 6.1

2022-10-14 Thread Dan Williams
Hi Linus, please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm 
tags/libnvdimm-for-6.1

...to receive some small cleanups and fixes in and around the nvdimm
subsystem. The most significant change is a regression fix for nvdimm
namespace (volume) creation when the namespace size is smaller than 2MB.

It has appeared in linux-next with no reported issues.

---

The following changes since commit 521a547ced6477c54b4b0cc206000406c221b4d6:

  Linux 6.0-rc6 (2022-09-18 13:44:14 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm 
tags/libnvdimm-for-6.1

for you to fetch changes up to 305a72efa791c826fe84768ca55e31adc4113ea8:

  Merge branch 'for-6.1/nvdimm' into libnvdimm-for-next (2022-10-01 19:16:16 
-0700)


libnvdimm for 6.1

- Fix nvdimm namespace creation on platforms that do not publish
  associated 'DIMM' metadata for a persistent memory region.

- Miscellaneous fixes and cleanups.


Andy Shevchenko (2):
  nvdimm/namespace: return uuid_null only once in nd_dev_to_uuid()
  nvdimm/namespace: drop unneeded temporary variable in size_store()

Bo Liu (1):
  dax: Remove usage of the deprecated ida_simple_xxx API

Dan Williams (1):
  Merge branch 'for-6.1/nvdimm' into libnvdimm-for-next

Jason Wang (1):
  nvdimm/namespace: Fix comment typo

Jiapeng Chong (2):
  nvdimm/region: Fix kernel-doc
  nvdimm: make __nvdimm_security_overwrite_query static

Lin Yujun (1):
  ACPI: HMAT: Release platform device in case of platform_device_add_data() 
fails

Tyler Hicks (1):
  libnvdimm/region: Allow setting align attribute on regions without 
mappings

 drivers/dax/hmem/device.c   |  4 ++--
 drivers/dax/super.c |  6 +++---
 drivers/nvdimm/namespace_devs.c | 24 
 drivers/nvdimm/region_devs.c| 10 --
 drivers/nvdimm/security.c   |  2 +-
 5 files changed, 18 insertions(+), 28 deletions(-)



Re: [RFC PATCH] xfs: drop experimental warning for fsdax

2022-10-14 Thread Darrick J. Wong
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 
> >