[GIT PULL] libnvdimm / persistent memory update for v5.15

From: Dan Williams
Date: Wed Sep 08 2021 - 19:18:44 EST

Hi Linus, please pull from:


...to receive the libnvdimm update for v5.15. It includes a bug fix
for a long standing race in the driver shutdown path. More people are
stress testing the nvdimm configuration mechanism which is a welcome
sign. There is also a rework of the infrastructure for looking up the
dax_device associated with a block_device.

This collided (silent conflict) with the erofs updates to add dax
support this cycle. Gao Xiang noted this as well in the erofs pull
request. Stephen's fix [1] looked correct to me. Otherwise, it has
been in -next for a while with no other reported issues.

Please pull, thanks,

[1]: https://lore.kernel.org/r/20210830170938.6fd8813d@xxxxxxxxxxxxxxxx


The following changes since commit e22ce8eb631bdc47a4a4ea7ecf4e4ba499db4f93:

Linux 5.14-rc7 (2021-08-22 14:24:56 -0700)

are available in the Git repository at:


for you to fetch changes up to 3fc3725357414636d91be1558ce8b14f228b4bda:

Merge branch 'for-5.15/fsdax-cleanups' into for-5.15/libnvdimm
(2021-09-08 15:58:13 -0700)

libnvdimm for v5.15

- Fix a race condition in the teardown path of raw mode pmem namespaces.

- Cleanup the code that filesystems use to detect filesystem-dax
capabilities of their underlying block device.

Christoph Hellwig (9):
fsdax: improve the FS_DAX Kconfig description and help text
dax: stop using bdevname
dm: use fs_dax_get_by_bdev instead of dax_get_by_host
dax: mark dax_get_by_host static
dax: move the dax_read_lock() locking into dax_supported
dax: remove __generic_fsdax_supported
dax: stub out dax_supported for !CONFIG_FS_DAX
xfs: factor out a xfs_buftarg_is_dax helper
dax: remove bdev_dax_supported

Dan Williams (1):
Merge branch 'for-5.15/fsdax-cleanups' into for-5.15/libnvdimm

sumiyawang (1):
libnvdimm/pmem: Fix crash triggered when I/O in-flight during unbind

drivers/dax/super.c | 191 +++++++++++++++++++-------------------------------
drivers/md/dm-table.c | 9 +--
drivers/md/dm.c | 2 +-
drivers/nvdimm/pmem.c | 4 +-
fs/Kconfig | 21 +++++-
fs/ext2/super.c | 3 +-
fs/ext4/super.c | 3 +-
fs/xfs/xfs_super.c | 16 +++--
include/linux/dax.h | 41 ++---------
9 files changed, 119 insertions(+), 171 deletions(-)