41c9b1be33
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
dax-private.h | ||
dax.h | ||
device-dax.h | ||
device.c | ||
pmem.c | ||
super.c |