diff options
author | Jens Axboe <[email protected]> | 2024-10-26 10:41:51 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-11-02 15:44:30 -0600 |
commit | 0701db7439208951c8a7d8600668e5cfdd5f63d2 (patch) | |
tree | da619885e5375a534c829a3ca613e8e0b9320060 /io_uring/uring_cmd.c | |
parent | fbbb8e991d86bb7539de6161746b6c747f93f533 (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