Bug 207453
Summary: | io_uring statx fails with AT_EMPTY_PATH | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Clay Harris (bugs) |
Component: | AIO | Assignee: | Badari Pulavarty (pbadari) |
Status: | NEW --- | ||
Severity: | normal | CC: | axboe |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.6.6-200.fc31.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Test program comparing statx vs io_uring IORING_OP_STATX results |
Created attachment 288757 [details] Test program comparing statx vs io_uring IORING_OP_STATX results Test opens a path on an fd. It then performs 4 steps: 0. statx on fd 1. statx on path 2. io_uring statx on fd 3. io_uring statx on path Expected identical results from all 4. Actual result: -- Test 0: statx:fd 3: SUCCEED, file mode 100600 -- Test 1: statx:path testfile1: SUCCEED, file mode 100600 -- Test 2: io_uring_statx:fd 3: FAIL, errno 9: Bad file descriptor -- Test 3: io_uring_statx:path testfile1: SUCCEED, file mode 100600 Test program attached.