]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d7d5b26e87c9a35d036908ff84f0df6c85bdf2f
tree651981a3673b731fc94a1646834d589b9fa2c4f9
parentd1d26ff132cc11be934ec61186c905db5062c2ed
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