dm: put all polled dm_io instances into a single list
authorMing Lei <ming.lei@redhat.com>
Tue, 12 Apr 2022 08:56:16 +0000 (16:56 +0800)
committerMike Snitzer <snitzer@kernel.org>
Thu, 5 May 2022 21:31:36 +0000 (17:31 -0400)
commitec211631ae24b1e700354f48c05fab5b3c617d83
tree651981a3673b731fc94a1646834d589b9fa2c4f9
parent0f14d60a023cc4fe68758e0fcdc0ce82a82dde7d
dm: put all polled dm_io instances into a single list

Now that bio_split() isn't used by DM's bio splitting, it is a bit
overkill to link dm_io into an hlist given there is only single dm_io
in the list.

Convert to using a single list for holding all dm_io instances
associated with this bio.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-core.h
drivers/md/dm.c