Skip to content

ctx wide rsrc nodes +

Pavel Begunkov io-uring 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest26 patches 2 repliesIn review
  2. v317 patches 0 repliesSuperseded
  3. v27 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26io_uring: name rsrc bits consistentlyfs/io_uring.c+71 -790 replies
2/26io_uring: simplify io_rsrc_node_ref_zerofs/io_uring.c+4 -80 replies
3/26io_uring: use rsrc prealloc infra for files regfs/io_uring.c+6 -150 replies
4/26io_uring: encapsulate rsrc node manipulationsfs/io_uring.c+13 -260 replies
5/26io_uring: move rsrc_put callback into io_rsrc_datafs/io_uring.c+14 -170 replies
6/26io_uring: refactor io_queue_rsrc_removal()fs/io_uring.c+4 -110 replies
7/26io_uring: ctx-wide rsrc nodesfs/io_uring.c+37 -360 replies
8/26io_uring: reuse io_rsrc_node_destroy()fs/io_uring.c+7 -90 replies
9/26io_uring: remove useless is_dying check on quiescefs/io_uring.c+2 -60 replies
10/26io_uring: refactor rw reissuefs/io_uring.c+16 -210 replies
11/26io_uring: combine lock/unlock sections on exitfs/io_uring.c+8 -100 replies
12/26io_uring: better ref handling in poll_remove_onefs/io_uring.c+1 -10 replies
13/26io_uring: remove unused hash_waitfs/io_uring.c+0 -20 replies
14/26io_uring: refactor io_async_cancel()fs/io_uring.c+0 -20 replies
15/26io_uring: improve import_fixed overflow checksfs/io_uring.c+3 -40 replies
16/26io_uring: store reg buffer end instead of lengthfs/io_uring.c+5 -50 replies
17/26io_uring: kill unused forward declsfs/io_uring.c+2 -40 replies
18/26io_uring: lock annotate timeouts and pollfs/io_uring.c+10 -00 replies
19/26io_uring: simplify overflow handlingfs/io_uring.c+3 -50 replies
20/26io_uring: put link timeout req consistentlyfs/io_uring.c+3 -70 replies
21/26io_uring: deduplicate NOSIGNAL settingfs/io_uring.c+14 -220 replies
22/26io_uring: set proper FFS* flags on reg file updatefs/io_uring.c+15 -110 replies
23/26io_uring: don't quiesce intial files registerfs/io_uring.c+1 -00 replies
24/26io_uring: refactor file tables alloc/freefs/io_uring.c+26 -260 replies
25/26io_uring: encapsulate fixed files into structfs/io_uring.c+19 -130 replies
26/26io_uring: kill outdated comment about splice puntfs/io_uring.c+0 -40 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 00/26] ctx wide rsrc nodes +

1-7 implement ctx wide rsrc nodes. The main idea here is to make make rsrc nodes (aka ref nodes) to be per ctx rather than per rsrc_data, that is a requirement for having multiple resource types. All the meat to it in 7/7. Btw improve rsrc API, because it was too easy to misuse.

Others are further cleanups

v2: io_rsrc_node_destroy() last rsrc_node on ctx_free()
v3: the series is growing
v4: keep growing...

Pavel Begunkov (26):
io_uring: name rsrc bits consistently
io_uring: simplify io_rsrc_node_ref_zero
io_uring: use rsrc prealloc infra for files reg
io_uring: encapsulate rsrc node manipulations
io_uring: move rsrc_put callback into io_rsrc_data
io_uring: refactor io_queue_rsrc_removal()
io_uring: ctx-wide rsrc nodes
io_uring: reuse io_rsrc_node_destroy()
io_uring: remove useless is_dying check on quiesce
io_uring: refactor rw reissue
io_uring: combine lock/unlock sections on exit
io_uring: better ref handling in poll_remove_one
io_uring: remove unused hash_wait
io_uring: refactor io_async_cancel()
io_uring: improve import_fixed overflow checks
io_uring: store reg buffer end instead of length
io_uring: kill unused forward decls
io_uring: lock annotate timeouts and poll
io_uring: simplify overflow handling
io_uring: put link timeout req consistently
io_uring: deduplicate NOSIGNAL setting
io_uring: set proper FFS* flags on reg file update
io_uring: don't quiesce intial files register
io_uring: refactor file tables alloc/free
io_uring: encapsulate fixed files into struct
io_uring: kill outdated comment about splice punt

 fs/io_uring.c | 504 ++++++++++++++++++++++----------------------------
 1 file changed, 222 insertions(+), 282 deletions(-)
Signature · 1 line
2.24.0