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.
https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.7&id=5b0bbee4732cbd58aa98213d4c11a366356bba3d