[GIT PULL] libnvdimm for 5.3
From: Dan Williams
Date: Thu Jul 18 2019 - 10:16:55 EST
Hi Linus, please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-for-5.3
...to receive primarily just the virtio_pmem driver for v5.3-rc1. The
lateness is attributed to me being out last week, and a last minute
regression hunt in a pending fix / rework of libnvdimm locking. Those
fixes can wait to post-rc1.
These commits have been in multiple -next releases, and uncovered a
late sparse fixup that is appended. The touches to ext4 and xfs have
received acks. Ted's ack is here [1], it arrived after I cut the
branch. Mike reviewed the device-mapper touches.
[1]: https://lore.kernel.org/lkml/20190707163415.GA19775@xxxxxxx/
---
The following changes since commit 9e0babf2c06c73cda2c0cd37a1653d823adb40ec:
Linux 5.2-rc5 (2019-06-16 08:49:45 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-for-5.3
for you to fetch changes up to 8c2e408e73f735d2e6e8b43f9b038c9abb082939:
virtio_pmem: fix sparse warning (2019-07-16 19:44:26 -0700)
----------------------------------------------------------------
- virtio_pmem: The new virtio_pmem facility introduces a paravirtualized
persistent memory device that allows a guest VM to use DAX mechanisms to
access a host-file with host-page-cache. It arranges for MAP_SYNC to
be disabled and instead triggers a host fsync() when a 'write-cache
flush' command is sent to the virtual disk device.
- Miscellaneous small fixups.
----------------------------------------------------------------
Andy Shevchenko (1):
libnvdimm, namespace: Drop uuid_t implementation detail
Pankaj Gupta (8):
libnvdimm: nd_region flush callback support
virtio-pmem: Add virtio pmem driver
libnvdimm: add dax_dev sync flag
dm: enable synchronous dax
dax: check synchronous mapping is supported
ext4: disable map_sync for async flush
xfs: disable map_sync for async flush
virtio_pmem: fix sparse warning
drivers/acpi/nfit/core.c | 4 +-
drivers/dax/bus.c | 2 +-
drivers/dax/super.c | 19 +++++-
drivers/md/dm-table.c | 24 ++++++--
drivers/md/dm.c | 5 +-
drivers/md/dm.h | 5 +-
drivers/nvdimm/Makefile | 1 +
drivers/nvdimm/claim.c | 6 +-
drivers/nvdimm/namespace_devs.c | 8 +--
drivers/nvdimm/nd.h | 1 +
drivers/nvdimm/nd_virtio.c | 125 +++++++++++++++++++++++++++++++++++++++
drivers/nvdimm/pmem.c | 18 ++++--
drivers/nvdimm/region_devs.c | 33 ++++++++++-
drivers/nvdimm/virtio_pmem.c | 122 ++++++++++++++++++++++++++++++++++++++
drivers/nvdimm/virtio_pmem.h | 55 +++++++++++++++++
drivers/s390/block/dcssblk.c | 2 +-
drivers/virtio/Kconfig | 11 ++++
fs/ext4/file.c | 10 ++--
fs/xfs/xfs_file.c | 9 ++-
include/linux/dax.h | 41 ++++++++++++-
include/linux/libnvdimm.h | 10 +++-
include/uapi/linux/virtio_ids.h | 1 +
include/uapi/linux/virtio_pmem.h | 34 +++++++++++
23 files changed, 508 insertions(+), 38 deletions(-)
create mode 100644 drivers/nvdimm/nd_virtio.c
create mode 100644 drivers/nvdimm/virtio_pmem.c
create mode 100644 drivers/nvdimm/virtio_pmem.h
create mode 100644 include/uapi/linux/virtio_pmem.h