diff options
author | 2022-04-12 16:56:15 +0800 | |
---|---|---|
committer | 2022-05-05 17:31:36 -0400 | |
commit | 0f14d60a023cc4fe68758e0fcdc0ce82a82dde7d (patch) | |
tree | d343453a1de1088e8f8f1b53e0b975b1c0065af0 /scripts/generate_rust_analyzer.py | |
parent | dm: don't grab target io reference in dm_zone_map_bio (diff) | |
download | wireguard-linux-0f14d60a023cc4fe68758e0fcdc0ce82a82dde7d.tar.xz wireguard-linux-0f14d60a023cc4fe68758e0fcdc0ce82a82dde7d.zip |
dm: improve dm_io reference counting
Currently each dm_io's reference counter is grabbed before calling
__map_bio(), this way isn't efficient since we can move this grabbing
to initialization time inside alloc_io().
Meantime it becomes typical async io reference counter model: one is
for submission side, the other is for completion side, and the io won't
be completed until both sides are done.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions