dm mpath: move dm_bio_restore out of endio method
authorMike Snitzer <snitzer@redhat.com>
Wed, 6 Dec 2017 21:08:14 +0000 (16:08 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 3 Jan 2018 14:27:40 +0000 (09:27 -0500)
commit1836df0891423dcf2b68771e04b28e2208ee95f2
treee88e76945d5d98a24fe4e8ca23945565be760ea4
parentd07a241d4f9aaab61b4a2ce7ec8053ad429c4232
dm mpath: move dm_bio_restore out of endio method

Moving the dm_bio_restore() to process_queued_bios() avoids doing that
work in multipath_end_io_bio().

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c