aboutsummaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2024-10-26 10:41:51 -0600
committerJens Axboe <[email protected]>2024-11-02 15:44:30 -0600
commit0701db7439208951c8a7d8600668e5cfdd5f63d2 (patch)
treeda619885e5375a534c829a3ca613e8e0b9320060 /io_uring/uring_cmd.c
parentfbbb8e991d86bb7539de6161746b6c747f93f533 (diff)
io_uring/rsrc: add an empty io_rsrc_node for sparse buffer entries
Rather than allocate an io_rsrc_node for an empty/sparse buffer entry, add a const entry that can be used for that. This just needs checking for writing the tag, and the put check needs to check for that sparse node rather than NULL for validity. This avoids allocating rsrc nodes for sparse buffer entries. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/uring_cmd.c')
0 files changed, 0 insertions, 0 deletions