dm: ensure bio-based DM's bioset and io_pool support targets' maximum IOs
authorMike Snitzer <snitzer@redhat.com>
Fri, 8 Dec 2017 19:40:52 +0000 (14:40 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Dec 2017 17:16:00 +0000 (12:16 -0500)
commit0776aa0e30aa31b2fad606457e9d3faf39d88314
tree251b9ea6e8630a9267a9bbf757f4aa357b736757
parent4a3f54d94d5c39ee0a78a76120f363bc0cda02c9
dm: ensure bio-based DM's bioset and io_pool support targets' maximum IOs

alloc_multiple_bios() assumes it can allocate the requested number of
bios but until now there was no gaurantee that the mempools would be
accomodating.

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