aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-05-19 14:50:27 +0800
committerJens Axboe <[email protected]>2023-05-19 19:59:17 -0600
commit8284066946e6d9cc979566ce698fe24e7ca0b31e (patch)
treeac22ce70417d36d0b22edf5abd2ac8a065b0a9e9 /tools/perf/scripts/python/net_dropmonitor.py
parent981f95a571e3ca20a496c0b77dbf6b06039c6648 (diff)
ublk: grab request reference when the request is handled by userspace
Add one reference counter into request pdu data, and hold this reference in the request's lifetime. Prepare for supporting to move request data copy into userspace, which needs to copy request data by read()/write() on /dev/ublkcN, so we have to guarantee that read()/write() is done on one valid/active request, and that will be enhanced by holding the io request reference in read()/write(). Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions