qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] DAX can not work on virtual nvdimm device


From: Xiao Guangrong
Subject: [Qemu-devel] DAX can not work on virtual nvdimm device
Date: Fri, 19 Aug 2016 19:19:20 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0


Hi Dan,

Recently, Redhat reported that nvml test suite failed on QEMU/KVM,
more detailed info please refer to:
   https://bugzilla.redhat.com/show_bug.cgi?id=1365721

The reason for this bug is that the memory region created by mmap()
on the dax-based file was gone so that the region can not be found
in /proc/self/smaps during the runtime.

This is a simple way to trigger this issue:
   mount -o dax /dev/pmem0 /mnt/pmem/
   vim /mnt/pmem/xxx
then 'vim' is crashed due to segment fault.

This bug can be reproduced on your tree, the top commit is
10d7902fa0e82b (dax: unmap/truncate on device shutdown), the kernel
configure file is attached.

Your thought or comment is highly appreciated.

Thanks!

Attachment: config-dax
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]