dm: remove unused 'num_write_bios' target interface
authorNeilBrown <neilb@suse.com>
Wed, 22 Nov 2017 03:25:18 +0000 (14:25 +1100)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Dec 2017 17:15:58 +0000 (12:15 -0500)
commitf31c21e4365c02ccf7226c33ea978cd5dbfc351e
tree26dd1f16a7996339e872af8bb3702d7c713e02af
parent18a25da84354c6bb655320de6072c00eda6eb602
dm: remove unused 'num_write_bios' target interface

No DM target provides num_write_bios and none has since dm-cache's
brief use in 2013.

Having the possibility of num_write_bios > 1 complicates bio
allocation.  So remove the interface and assume there is only one bio
needed.

If a target ever needs more, it must provide a suitable bioset and
allocate itself based on its particular needs.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h