Skip to content

Commit d59bd74

Browse files
committed
io_uring/poll: disable level triggered poll
Stefan reports that there are issues with the level triggered notification. Since we're late in the cycle, and it was introduced for the 6.0 release, just disable it at prep time and we can bring this back when Samba is happy with it. Reported-by: Stefan Metzmacher <[email protected]> Reviewed-by: Stefan Metzmacher <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 7cae596 commit d59bd74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io_uring/poll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
857857
if (sqe->buf_index || sqe->off || sqe->addr)
858858
return -EINVAL;
859859
flags = READ_ONCE(sqe->len);
860-
if (flags & ~(IORING_POLL_ADD_MULTI|IORING_POLL_ADD_LEVEL))
860+
if (flags & ~IORING_POLL_ADD_MULTI)
861861
return -EINVAL;
862862
if ((flags & IORING_POLL_ADD_MULTI) && (req->flags & REQ_F_CQE_SKIP))
863863
return -EINVAL;

0 commit comments

Comments
 (0)