dm: fix __send_changing_extent_only() to send first bio and chain remainder
authorMike Snitzer <snitzer@redhat.com>
Fri, 8 Dec 2017 20:02:11 +0000 (15:02 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Dec 2017 17:16:01 +0000 (12:16 -0500)
commit3d7f45625a84696f61c6470a887bdc65180937a9
tree48c11a264675fa92b9b042359f79d187b6726124
parent0776aa0e30aa31b2fad606457e9d3faf39d88314
dm: fix __send_changing_extent_only() to send first bio and chain remainder

__send_changing_extent_only() must follow the same pattern that was
established with commit "dm: ensure bio submission follows a depth-first
tree walk".  That is: submit first bio up to split boundary and then
split the remainder to further submissions.

Suggested-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c