Bug 207453 - io_uring statx fails with AT_EMPTY_PATH
Summary: io_uring statx fails with AT_EMPTY_PATH
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: AIO (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Badari Pulavarty
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 08:06 UTC by Clay Harris
Modified: 2020-04-27 17:48 UTC (History)
1 user (show)

See Also:
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 (3.46 KB, text/x-csrc)
2020-04-27 08:06 UTC, Clay Harris
Details

Description Clay Harris 2020-04-27 08:06:09 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.