Ming Lei 0f14d60a02 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>
2022-05-05 17:31:36 -04:00
..
2022-03-24 19:37:53 -07:00
2022-05-05 17:31:35 -04:00
2022-05-05 17:31:35 -04:00
2022-05-05 17:31:35 -04:00
2022-03-24 19:37:53 -07:00
2022-04-17 19:49:59 -06:00
2022-03-24 19:37:53 -07:00
2022-05-05 17:31:36 -04:00
2022-01-06 08:37:03 -08:00
2022-04-17 19:49:59 -06:00
2022-03-24 19:37:53 -07:00
2022-02-22 21:11:08 -05:00
2022-04-17 19:49:59 -06:00
2022-03-08 15:16:54 -08:00
2022-04-17 19:49:59 -06:00
2022-03-08 15:16:54 -08:00
2022-03-26 11:51:46 -07:00
2022-04-17 19:49:59 -06:00
2022-01-06 08:37:02 -08:00
2022-04-17 19:49:59 -06:00
2022-03-08 15:16:54 -08:00