Hi,
FIBMAP ioctl call to file in pmem dax mountpoint, both xfs
and ext4, starts to fail on v4.17-rc1 Linus tree.
+fibmap: Invalid argument
Pass on v4.16.
Pass on non-dax mountpoint.
We got these in v4.17-rc1:
6e2608d xfs, dax: introduce xfs_dax_aops
fb094c9 ext2, dax: introduce ext2_dax_aops
5
On Wed, Apr 04, 2018 at 07:48:23AM -0700, Dan Williams wrote:
> On Wed, Apr 4, 2018 at 7:37 AM, Xiong Zhou wrote:
> > Hi,
> >
> > It works fine in memory mode. Both tested on latest Linus tree with xfs.
> >
> > Referring https://nvdimm.wiki.kernel.org/2mib_f
Hi,
This happens when testing nvml or pmdk libvmmalloc library:
+ dmesg
[12890.676033] traps: test_libvmmallo[15789] general protection ip:7f3f01481a31
sp:7ffd85f4b7a0 error:0 in libvmmalloc.so.1.0.0[7f3f0146d000+3e000]
gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x7
On Thu, Oct 12, 2017 at 08:10:10AM +1100, Dave Chinner wrote:
> On Wed, Oct 11, 2017 at 09:54:15PM +0800, Xiong Zhou wrote:
> > On Mon, Sep 25, 2017 at 10:49:03AM +0200, Carlos Maiolino wrote:
> > > On Mon, Sep 25, 2017 at 01:40:06AM +, Xiong Zhou wrote:
> > > >
On Tue, Apr 25, 2017 at 02:51:06PM -0600, Ross Zwisler wrote:
> This adds a regression test for the following kernel patch:
>
> dax: fix data corruption due to stale mmap reads
>
> The above patch fixes an issue where users of DAX can suffer data
> corruption from stale mmap reads via the follo
Ccing Eryu
On Wed, Mar 29, 2017 at 02:12:25PM -0700, Dan Williams wrote:
> On Wed, Mar 29, 2017 at 2:04 PM, Jeff Moyer wrote:
> > Dan Williams writes:
> >
> >>> Can we stop with this kernel version checking, please? Test to see if
> >>> you can create a device dax instance. If not, ski
Hi,
xfstests cases:
generic/075 generic/112 generic/127 generic/231 generic/263
fail with DAX, pass without it. Both xfs and ext4.
It was okay on 0306 -next tree.
+ ./check generic/075
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/x86_64 hp-dl360g9-12
4.11.0-rc1-linux-next-5be4921-ne
On Wed, Feb 22, 2017 at 03:05:29PM -0800, Dan Williams wrote:
> On Tue, Feb 7, 2017 at 11:22 PM, Xiong Zhou wrote:
> > On Wed, Feb 08, 2017 at 03:09:07PM +0800, Xiong Zhou wrote:
> >> On Wed, Feb 08, 2017 at 02:56:51PM +0800, Xiong Zhou wrote:
> >> > On Tue, Feb 07,
On Fri, Feb 17, 2017 at 02:46:24PM +0800, Eryu Guan wrote:
> On Wed, Feb 08, 2017 at 12:11:18PM +0800, Xiong Zhou wrote:
> > Mount TEST_DEV as non-DAX, SCRATCH_DEV as DAX, then
> > do some IO between them. In this case we use mmap
> > and dio/buffered IO read/write test progr
On Wed, Feb 08, 2017 at 03:09:07PM +0800, Xiong Zhou wrote:
> On Wed, Feb 08, 2017 at 02:56:51PM +0800, Xiong Zhou wrote:
> > On Tue, Feb 07, 2017 at 09:05:21PM -0800, Dan Williams wrote:
> > > On Tue, Feb 7, 2017 at 8:49 PM, Xiong Zhou wrote:
> > > > On Tue, Feb 07,
On Wed, Feb 08, 2017 at 02:56:51PM +0800, Xiong Zhou wrote:
> On Tue, Feb 07, 2017 at 09:05:21PM -0800, Dan Williams wrote:
> > On Tue, Feb 7, 2017 at 8:49 PM, Xiong Zhou wrote:
> > > On Tue, Feb 07, 2017 at 08:10:14PM -0800, Dan Williams wrote:
> > >> On Tue, Feb
On Tue, Feb 07, 2017 at 09:05:21PM -0800, Dan Williams wrote:
> On Tue, Feb 7, 2017 at 8:49 PM, Xiong Zhou wrote:
> > On Tue, Feb 07, 2017 at 08:10:14PM -0800, Dan Williams wrote:
> >> On Tue, Feb 7, 2017 at 7:51 PM, Xiong Zhou wrote:
> >> > On Fri, Jan 20, 2017 a
On Tue, Feb 07, 2017 at 08:10:14PM -0800, Dan Williams wrote:
> On Tue, Feb 7, 2017 at 7:51 PM, Xiong Zhou wrote:
> > On Fri, Jan 20, 2017 at 12:40:07PM +0800, Xiong Zhou wrote:
> >> Hi,
> >>
> >> At first, I am not sure whether this is an issue.
> >&g
dio test programme to test read/write
between a mmap area of one file and another file
directly or buffered, with different size.
Signed-off-by: Ross Zwisler
Signed-off-by: Xiong Zhou
---
.gitignore| 1 +
common/rc | 13 +
src/Makefile | 2 +-
src/t_mmap_dio.c
ax to nondax
+read(Bad address) len 4096 dio dax to nondax
+read(Bad address) len 16777216 dio dax to nondax
+read(Bad address) len 67108864 dio dax to nondax
I've reported this as an issue:
https://lists.01.org/pipermail/linux-nvdimm/2017-February/008781.html
Xiong Zhou
Mount TEST_DEV as non-DAX, SCRATCH_DEV as DAX, then
do some IO between them. In this case we use mmap
and dio/buffered IO read/write test programme.
Signed-off-by: Ross Zwisler
Signed-off-by: Xiong Zhou
---
tests/generic/407 | 152 ++
tests
On Fri, Jan 20, 2017 at 12:40:07PM +0800, Xiong Zhou wrote:
> Hi,
>
> At first, I am not sure whether this is an issue.
>
> mmap a file in a DAX mountpoint, open another file
> in a non-DAX mountpoint with O_DIRECT, write the
> mapped area to the other file.
>
>
On Thu, Jan 19, 2017 at 10:04:01PM -0800, Dan Williams wrote:
> On Thu, Jan 19, 2017 at 8:40 PM, Xiong Zhou wrote:
> > Hi,
> >
> > At first, I am not sure whether this is an issue.
> >
> > mmap a file in a DAX mountpoint, open another file
> > in a non-
dio test programme to test read/write
between a mmap area of one file and another file
directly or buffered, with different size.
Signed-off-by: Ross Zwisler
Signed-off-by: Xiong Zhou
---
.gitignore| 1 +
common/rc | 13 ++
src/Makefile | 2 +-
src/t_mmap_dio.c
Mount TEST_DEV as non-DAX, SCRATCH_DEV as DAX, then
do some IO between them. In this case we use mmap
and dio/buffered IO read/write test programme.
Signed-off-by: Ross Zwisler
Signed-off-by: Xiong Zhou
---
tests/generic/407 | 125 ++
tests
.html
Xiong Zhou (2):
xfs: test per-inode DAX flag by IO
generic: test mmap io through DAX and non-DAX
.gitignore| 1 +
common/rc | 13 ++
src/Makefile | 2 +-
src/t_mmap_dio.c | 107 ++
tests/generic/407
On Fri, Feb 03, 2017 at 09:57:10AM -0700, Ross Zwisler wrote:
> On Fri, Feb 03, 2017 at 01:57:17PM +0800, Xiong Zhou wrote:
> > On Tue, Jan 24, 2017 at 03:28:55PM -0700, Ross Zwisler wrote:
> > > On Fri, Jan 20, 2017 at 02:15:48PM +0800, Xiong Zhou wrote:
> > > >
On Tue, Jan 24, 2017 at 03:28:55PM -0700, Ross Zwisler wrote:
> On Fri, Jan 20, 2017 at 02:15:48PM +0800, Xiong Zhou wrote:
> > common/rc : requires SCRATCH_DEV support DAX
> > src/t_mmap_dio.c : intro mmap and O_DIRECT rw through files
> > tests/generic/405 : I
Hi,
LTP tests on DAX show 2 issues.
msync03 and diotest4, both xfs and ext4,
non-DAX pass
DAX fail
1, MAP_LOCKED && msync with MS_INVALIDATE, which should fail.
Flag checking code in msync looks ok but missing _LOCK vma falgs
for DAX mapped vma ? i guess DAX now does not support that ?
T
Mount TEST_DEV as non-DAX, SCRATCH_DEV as DAX, then
do some IO between them. In this case we use mmap
and dio/buffered IO read/write test programme.
Signed-off-by: Xiong Zhou
---
tests/generic/405 | 119 ++
tests/generic/405.out | 2 +
tests
dio test programme to test read/write
between a mmap area of one file and another file
directly or buffered, with different size.
Signed-off-by: Xiong Zhou
---
.gitignore| 1 +
common/rc | 13 ++
src/Makefile | 2 +-
src/t_mmap_dio.c | 105
nondax
+write(Bad address) len 67108864 dio dax to nondax
I've reported this to nvdimm list.
https://lists.01.org/pipermail/linux-nvdimm/2017-January/008600.html
Xiong Zhou (2):
xfs: test per-inode DAX flag by IO
generic: test mmap io through DAX and non-DAX
.gitignore
Hi,
At first, I am not sure whether this is an issue.
mmap a file in a DAX mountpoint, open another file
in a non-DAX mountpoint with O_DIRECT, write the
mapped area to the other file.
This write Success on pmem ramdisk(memmap=2G!20G like)
This write Fail(Bad address) on nvdimm pmem devices.
Thi
programme to test read/write
between a mmap area of one file and another file
directly, with different size.
Signed-off-by: Xiong Zhou
---
v3:
close fds in C test programme for clean up.
.gitignore| 1 +
common/rc | 14 +++
src/Makefile | 2 +-
src/t_mmap_dio.c | 89
On Thu, Jan 19, 2017 at 01:49:25PM -0700, Ross Zwisler wrote:
> On Thu, Jan 19, 2017 at 06:13:57PM +0800, Xiong Zhou wrote:
...snip..
> > + ret = munmap(map, len);
> > + if (ret < 0)
> > + err_exit("munmap", len, argv[4]);
>
> Small nit: you
Mount TEST_DEV as non-DAX, SCRATCH_DEV as DAX, then
do some IO between them. In this case we use mmap
and dio read/write test programme.
Signed-off-by: Xiong Zhou
---
tests/generic/405 | 116 ++
tests/generic/405.out | 2 +
tests/generic
programme to test read/write
between a mmap area of one file and another file
directly, with different size.
Signed-off-by: Xiong Zhou
---
.gitignore| 1 +
common/rc | 14 +++
src/Makefile | 2 +-
src/t_mmap_dio.c | 81
tests/xfs
+write(Bad address) len 16777216 dax to nondax
+write(Bad address) len 67108864 dax to nondax
Xiong Zhou (2):
xfs: test per-inode DAX flag by IO
generic: test mmap dio through DAX and non-DAX
.gitignore| 1 +
common/rc | 14 ++
src/Makefile
To test read/write between a mmap area of one file
and another file directly, with different size.
Signed-off-by: Xiong Zhou
---
.gitignore | 1 +
src/Makefile | 2 +-
src/t_mmap_dio.c | 81
3 files changed, 83 insertions
We do mmap and O_DIRECT read/write, through files
with and without DAX flag.
Signed-off-by: Xiong Zhou
---
tests/xfs/138 | 105 ++
tests/xfs/138.out | 2 ++
tests/xfs/group | 1 +
3 files changed, 108 insertions(+)
create mode
Signed-off-by: Xiong Zhou
---
tests/generic/405 | 100 ++
tests/generic/405.out | 2 +
tests/generic/group | 1 +
3 files changed, 103 insertions(+)
create mode 100755 tests/generic/405
create mode 100644 tests/generic/405.out
diff
To make sure we can test DAX feature on SCRATCH_DEV.
Signed-off-by: Xiong Zhou
---
common/rc | 10 ++
1 file changed, 10 insertions(+)
diff --git a/common/rc b/common/rc
index 892c46e..ea7956b 100644
--- a/common/rc
+++ b/common/rc
@@ -2632,6 +2632,16 @@ _require_scratch_shutdown
common/rc : requires SCRATCH_DEV support DAX
src/t_mmap_dio.c : intro mmap and O_DIRECT rw through files
tests/generic/405 : IO between DAX/non-DAX mountpoints
tests/xfs/138 : IO between DAX/non-DAX xfs files(per-inode flag)
Xiong Zhou (4):
common/rc: add _require_scratch_dax
src
On Fri, Jan 13, 2017 at 06:16:41PM +0800, Xiong Zhou wrote:
> Hi,
>
> These cases "hang" when testing with -o dax mount option:
> xfstests generic/030 generic/34{0,4,5,6} generic/198
> (maybe more)
>
> The test programme holetest or aiodio keep running for a
>
ransition from
> locking based on the DAX empty entry to locking on the 4k zero page.
>
> With the test case reported by Xiong this happens very regularly in my test
> setup, with some runs resulting in 9+ threads in this deadlocked state.
> With this fix I've been able to run t
On Tue, Jan 03, 2017 at 09:57:10AM -0700, Ross Zwisler wrote:
> On Tue, Jan 03, 2017 at 02:49:22PM +0800, Xiong Zhou wrote:
> > On Mon, Jan 02, 2017 at 02:49:41PM -0700, Ross Zwisler wrote:
> > > On Mon, Jan 02, 2017 at 06:16:17PM +0100, Jan Kara wrote:
> > > > On Fri
On Tue, Jan 03, 2017 at 09:57:10AM -0700, Ross Zwisler wrote:
> On Tue, Jan 03, 2017 at 02:49:22PM +0800, Xiong Zhou wrote:
> > On Mon, Jan 02, 2017 at 02:49:41PM -0700, Ross Zwisler wrote:
> > > On Mon, Jan 02, 2017 at 06:16:17PM +0100, Jan Kara wrote:
> > > > On Fri
On Tue, Jan 03, 2017 at 09:57:10AM -0700, Ross Zwisler wrote:
> On Tue, Jan 03, 2017 at 02:49:22PM +0800, Xiong Zhou wrote:
> > On Mon, Jan 02, 2017 at 02:49:41PM -0700, Ross Zwisler wrote:
> > > On Mon, Jan 02, 2017 at 06:16:17PM +0100, Jan Kara wrote:
> > > > On Fri
On Mon, Jan 02, 2017 at 02:49:41PM -0700, Ross Zwisler wrote:
> On Mon, Jan 02, 2017 at 06:16:17PM +0100, Jan Kara wrote:
> > On Fri 30-12-16 17:33:53, Xiong Zhou wrote:
> > > On Sat, Dec 24, 2016 at 07:07:14PM +0800, Xiong Zhou wrote:
> > > > Hi lists,
snip
> >
On Sat, Dec 24, 2016 at 07:07:14PM +0800, Xiong Zhou wrote:
> Hi lists,
>
> Since around 20161129 tag, LTP rwtest01 on dax mountpoint blocks
> on linux-next tree, now on Linus tree.
>
> In "normal", rwtest01 subcase ends in a few minutes, now it keeps
> running fo
Hi lists,
Since around 20161129 tag, LTP rwtest01 on dax mountpoint blocks
on linux-next tree, now on Linus tree.
In "normal", rwtest01 subcase ends in a few minutes, now it keeps
running for hours on dax mountpoint, both ext4 and xfs. Ctrl + c
can interrupt it.
It is always reproducible, blocki
# description
nvml test suite vmmalloc_fork test hang.
$ ps -eo stat,comm | grep vmma
S+ vmmalloc_fork
Sl+ vmmalloc_fork
Z+ vmmalloc_fork
Sl+ vmmalloc_fork
Z+ vmmalloc_fork
Z+ vmmalloc_fork
Sl+ vmmalloc_fork
Z+ vmmalloc_fork
Z+ vmmalloc_fork
Z+ vmmalloc_fork
dmesg:
[ 2
Hi,
A few xfs fuzzers in xfstests fail with dax mount option, pass without dax.
They are xfs/086 xfs/088 xfs/089 xfs/091.
xfstests to commit 4470ad4c7e (Jul 26)
kernel to commit dd95069545 (Jul 24)
+ ./check xfs/091
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/x86_64 rhel73 4.7.0+
48 matches
Mail list logo