[LU-15994] Fio io_uring failed with error=interrupted system call on Ubuntu 2204 Created: 06/Jul/22 Updated: 01/Sep/22 Resolved: 01/Sep/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Qian Yingjin | Assignee: | Qian Yingjin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
On the new Ubuntu 2204, fio with io_uring engine failed with the following error: io_uring err=4/file:io_u.c:1845, func=io_u error, error=interrupted system call The test script to reproduce this failure is as follows: DIR="/mnt/lustre" tdir="sanity-pcc.d102" dir=$DIR/$tdir file=$dir/$tfile ioengine="io_uring" numjobs=2 size=10M fio --name=seqwrite --ioengine=$ioengine \ --bs=4K --direct=1 --numjobs=$numjobs \ --iodepth=64 --size=$size --filename=$file --rw=write || error "fio seqwrite $file failed" fio --name=seqread --ioengine=$ioengine \ --bs=4K --direct=1 --numjobs=$numjobs \ --iodepth=64 --size=$size --filename=$file --rw=read || error "fio seqread $file failed" However, this failure does not exist in the old Ubuntu 2004. |
| Comments |
| Comment by Qian Yingjin [ 06/Jul/22 ] |
|
Please note this bug exists on Lustre I/O path or may be related to the io_uring codes in new Linux kernel. |
| Comment by Qian Yingjin [ 07/Jul/22 ] |
|
This bug may be related to the "task_work" introduced in the kernel later than 5.4 according to the URL: https://issuehint.com/issue/axboe/liburing/504
|
| Comment by Gerrit Updater [ 02/Aug/22 ] |
|
"Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48106 |
| Comment by Nathan Dauchy [ 05/Aug/22 ] |
|
I don't see any additions to the automated test cases in this patch. Coverage of io_uring testing seems... sparse (since we have hit a few bugs in that area recently). Does it make sense to add something to this patchset? |
| Comment by Gerrit Updater [ 08/Aug/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48106/ |
| Comment by Qian Yingjin [ 09/Aug/22 ] |
|
I will make simple test case for io_uring I/O engine later. |
| Comment by Gerrit Updater [ 09/Aug/22 ] |
|
"Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48167 |
| Comment by Gerrit Updater [ 01/Sep/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48167/ |
| Comment by Peter Jones [ 01/Sep/22 ] |
|
Landed for 2.16 |