提交 a9829f6b 编写于 作者: Y Yanan Fu

nvdimm: update the format nvdimm command

From RHEL8, according to product bz 1620330: "To test or use dax on
xfs, reflink must be turned off". So update the format command, add
"-m reflink=0"
Signed-off-by: NYanan Fu <yfu@redhat.com>
上级 aecc6abb
......@@ -20,6 +20,8 @@
pre_command = "dd if=/dev/zero of=${nv_backend} bs=1M count=1024"
pmem = /dev/pmem0
format_command = "mkfs.xfs -f ${pmem}"
RHEL.8:
format_command += " -m reflink=0"
mount_command = "mount -o dax ${pmem} ${mount_dir}"
post_command = "rm -rf ${nv_backend}"
mem_devs = mem1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册