Skip to content

changes around fixed rsrc

Pavel Begunkov io-uring stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3io_uring: limit fixed table size by RLIMIT_NOFILEfs/io_uring.c+2 -00 replies
2/3io_uring: place fixed tables under memcg limitsfs/io_uring.c+4 -30 replies
3/3io_uring: add ->splice_fd_in checksfs/io_uring.c+30 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] changes around fixed rsrc

1-2 put some limits on the fixed file tables sizes, files and buffers.

3/3 adds compatibility checks for ->splice_fd_in, for all requests buy rw and some others, see the patch message.

All based on 5.15 and merked stable, looks to me as the best way.

Pavel Begunkov (3):
io_uring: limit fixed table size by RLIMIT_NOFILE
io_uring: place fixed tables under memcg limits
io_uring: add ->splice_fd_in checks

 fs/io_uring.c | 61 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 36 insertions(+), 25 deletions(-)
Signature · 1 line
2.32.0