aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-03-05 04:02:58 +0000
committerJens Axboe <[email protected]>2021-03-05 15:43:09 +0000
commitb5b0ecb736f1ce1e68eb50613c0cfecff10198eb (patch)
tree2bbe77a9b47c89fa01c46e198e0bcafbfe1e00b1 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentio_uring: don't keep looping for more events if we can't flush overflow (diff)
downloadkernel-b5b0ecb736f1ce1e68eb50613c0cfecff10198eb.tar.gz
kernel-b5b0ecb736f1ce1e68eb50613c0cfecff10198eb.zip
io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
The callback can only be armed, if we get -EIOCBQUEUED returned. It's important that we clear the WAITQ bit for other cases, otherwise we can queue for async retry and filemap will assume that we're armed and return -EAGAIN instead of just blocking for the IO. Cc: [email protected] # 5.9+ Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions