On Tue, Jul 25, 2017 at 09:37:38PM +0000, Kani, Toshimitsu wrote:
Hi,
Copying files to vfat FS on an NVDIMM device hits
BUG_ON(!PageLocked(page)) in try_to_free_buffers(). It happens on
4.13-rc1, and happens on older kernels as well.
A simple reproducer is shown below. It is 100% reproducible on my
setup (8GB of regular memory and 16GB of NVDIMM). It usually hits in
the 3rd or 4th file copy and does not repeat with the while-loop.
Interestingly, it hits only when an NVDIMM device is set as raw or
memory mode. It does not hit with sector mode.
Interesting, thanks for the report.. I was able to reproduce this in my KVM
setup with a virtualized NVDIMM using v4.12. I also tried reproducing it with
BRD, and wasn't able.
I'll take a look.