linux_dsm_epyc7002/drivers/dax
Dave Jiang 41c9b1be33 device-dax: Add missing address_space_operations
With address_space_operations missing for device dax, namely the
.set_page_dirty, we hit a kernel warning when running destructive
ndctl unit test: make TESTS=device-dax check

WARNING: CPU: 3 PID: 7380 at fs/buffer.c:581 __set_page_dirty+0xb1/0xc0

Setting address_space_operations to noop_set_page_dirty and
noop_invalidatepage for device dax to prevent fallback to
__set_page_dirty_buffers() and block_invalidatepage() respectively.

Fixes: 2232c6382a ("device-dax: Enable page_mapping()")

Acked-by: Jeff Moyer <jmoyer@redhat.com>
Reported-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2018-09-22 09:07:33 -07:00
..
dax-private.h
dax.h
device-dax.h
device.c device-dax: Add missing address_space_operations 2018-09-22 09:07:33 -07:00
Kconfig
Makefile
pmem.c device-dax: avoid hang on error before devm_memremap_pages() 2018-07-31 17:05:42 -07:00
super.c libnvdimm-for-4.19_misc 2018-08-25 18:13:10 -07:00