diff options
author | Pavel Begunkov <[email protected]> | 2021-04-25 14:32:18 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-25 10:14:04 -0600 |
commit | b60c8dce33895f79cbb54700fbeffc7db8aee3f7 (patch) | |
tree | 2cb7fa304666eed5b6c131475e5f1c407692b537 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d4d19c19d6ae93f99a57c50ccf6d084213e964bd (diff) |
io_uring: preparation for rsrc tagging
We need a way to notify userspace when a lazily removed resource
actually died out. This will be done by associating a tag, which is u64
exactly like req->user_data, with each rsrc (e.g. buffer of file). A CQE
will be posted once a resource is actually put down.
Tag 0 is a special value set by default, for whcih it don't generate an
CQE, so providing the old behaviour.
Don't expose it to the userspace yet, but prepare internally, allocate
buffers, add all posting hooks, etc.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/2e6beec5eabe7216bb61fb93cdf5aaf65812a9b0.1619356238.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions