summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-04-17 19:40:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-17 19:40:44 +0300
commitbdfd99e6d6bd690b47bd1d45dad218bf08be1dde (patch)
tree3a73c1657b5a1392c9b34850b2f3844b794bf531 /include
parent7c22677407243d63df3aee1bb2f6d9aa12c01a24 (diff)
parent11d2498f1568a0f923dc8ef7621de15a9e89267f (diff)
downloadlinux-bdfd99e6d6bd690b47bd1d45dad218bf08be1dde.tar.xz
Merge tag 'libnvdimm-fixes-for-5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
Pull libnvdimm fixes from Dan Williams: "The largest change is for a regression that landed during -rc1 for block-device read-only handling. Vaibhav found a new use for the ability (originally introduced by virtio_pmem) to call back to the platform to flush data, but also found an original bug in that implementation. Lastly, Arnd cleans up some compile warnings in dax. This has all appeared in -next with no reported issues. Summary: - Fix a regression of read-only handling in the pmem driver - Fix a compile warning - Fix support for platform cache flush commands on powerpc/papr" * tag 'libnvdimm-fixes-for-5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC libnvdimm: Notify disk drivers to revalidate region read-only dax: avoid -Wempty-body warnings
Diffstat (limited to 'include')
-rw-r--r--include/linux/nd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nd.h b/include/linux/nd.h
index cec526c8043d..ee9ad76afbba 100644
--- a/include/linux/nd.h
+++ b/include/linux/nd.h
@@ -11,6 +11,7 @@
enum nvdimm_event {
NVDIMM_REVALIDATE_POISON,
+ NVDIMM_REVALIDATE_REGION,
};
enum nvdimm_claim_class {