Skip to content

Conversation

@yizhanglinux
Copy link
Contributor

$ ./check md/002
md/002 (test md atomic writes) [failed]
runtime 16.597s ... 16.621s
--- tests/md/002.out 2025-11-11 03:27:25.669051094 +0000
+++ /root/blktests/results/nodev/md/002.out.bad 2025-11-11 04:21:41.669796053 +0000
@@ -116,6 +116,7 @@
TEST 10 raid10 step 4 - perform a pwritev2 with size of sysfs_atomic_unit_min_bytes with RWF_ATOMIC flag - pwritev2 should fail - pass
pwrite: Invalid argument
TEST 11 raid10 step 4 - perform a pwritev2 with a size of sysfs_atomic_write_unit_max_bytes - LBS bytes with RWF_ATOMIC flag - pwritev2 should fail - pass
+File descriptor 3 (/dev/z90crypt) leaked on vgdisplay invocation. Parent PID 30154: /bin/bash
TEST 1 dm-linear step 1 - Verify md sysfs atomic attributes matches - pass
TEST 2 dm-linear step 1 - Verify sysfs atomic attributes - pass
TEST 3 dm-linear step 1 - Verify md sysfs_atomic_write_max is equal to expected_atomic_write_max - pass

Link: #209

$ ./check md/002
md/002 (test md atomic writes)                               [failed]
    runtime  16.597s  ...  16.621s
    --- tests/md/002.out	2025-11-11 03:27:25.669051094 +0000
    +++ /root/blktests/results/nodev/md/002.out.bad	2025-11-11 04:21:41.669796053 +0000
    @@ -116,6 +116,7 @@
     TEST 10 raid10 step 4 - perform a pwritev2 with size of sysfs_atomic_unit_min_bytes with RWF_ATOMIC flag - pwritev2 should fail - pass
     pwrite: Invalid argument
     TEST 11 raid10 step 4 - perform a pwritev2 with a size of sysfs_atomic_write_unit_max_bytes - LBS bytes with RWF_ATOMIC flag - pwritev2 should fail - pass
    +File descriptor 3 (/dev/z90crypt) leaked on vgdisplay invocation. Parent PID 30154: /bin/bash
     TEST 1 dm-linear step 1 - Verify md sysfs atomic attributes matches - pass
     TEST 2 dm-linear step 1 - Verify sysfs atomic attributes - pass
     TEST 3 dm-linear step 1 - Verify md sysfs_atomic_write_max is equal to expected_atomic_write_max - pass

Link: linux-blktests#209
Signed-off-by: Yi Zhang <[email protected]>
@kawasaki
Copy link
Collaborator

@johnpgarry FYI.

The change looks reasonable to me. I will do confirmation run later on.

@johnpgarry
Copy link
Contributor

thanks for the notice, it looks like a reasonable change

@kawasaki kawasaki merged commit 9f0b5f2 into linux-blktests:master Nov 13, 2025
5 checks passed
@kawasaki
Copy link
Collaborator

@yizhanglinux I merged this PR. Thanks!

@yizhanglinux yizhanglinux deleted the md-002-fix branch November 13, 2025 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants