-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
blktests ublk io uring update #153
blktests ublk io uring update #153
Conversation
@ming1 FYI. |
Looks fine, nice change! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yi Zhang, thanks again for this PR.
I made two comments on the patches. Could you revise them and confirm with you environment?
block/035 and ublk tests need to run with io_uring eanbled, add two common functions to use for the tests Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
f002694
to
ce2766b
Compare
Thanks for the review, updated. |
I tried the tests on 6.13-rc2, the tests passed, but I can saw "miniublk[14209]: segfault" during ublk/001, will check it.
|
So the $ ./src/miniublk del -a
|
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
I pushed another patch to enable io_uring at the beginning of _init_ublk. |
@ming1 Do we need to fix the "[ 1704.837868] miniublk[14209]: segfault" when io_uring disabled?
|
Hi @yizhanglinux , Please try the following patch: https://lore.kernel.org/linux-block/20241213073645.2347787-1-ming.lei@redhat.com/ Thanks, |
@yizhanglinux Thanks for updating the patches. They all look good to me. As for the segmentation fault, the fix by @ming1 looks good to me. But the segmentation fault is not observed on my test system and I can not confirm the fix. Let me wait for your fix confirmation. |
With @ming1's patch, when io_uring disabled,
|
File axboe/liburing#1305 to track the liburing issue. |
block/035 and ublk tests need to run with io_uring enabled, add two common functions to use for the tests Link: #153 Signed-off-by: Yi Zhang <yi.zhang@redhat.com> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Link: #153 Signed-off-by: Yi Zhang <yi.zhang@redhat.com> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Call the common functions _io_uring_enable/_io_uring_restore to ensure that io_uring is enabled during ublk test runs. Link: #153 Signed-off-by: Yi Zhang <yi.zhang@redhat.com> [Shin'ichiro: squashed the following fix into this commit] Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
I took the liberty to apply the patches as separated commits, since I wanted to squash the 4th fix patch into the 3rd patch. Anyway, the fixes @yizhanglinux suggested are now upstreamed. Thanks! |
No description provided.