linux/drivers/scsi/mpt3sas
Kent Overstreet 458b76ed2f block: Kill bio_segments()/bi_vcnt usage
When we start sharing biovecs, keeping bi_vcnt accurate for splits is
going to be error prone - and unnecessary, if we refactor some code.

So bio_segments() has to go - but most of the existing users just needed
to know if the bio had multiple segments, which is easier - add a
bio_multiple_segments() for them.

(Two of the current uses of bio_segments() are going to go away in a
couple patches, but the current implementation of bio_segments() is
unsafe as soon as we start doing driver conversions for immutable
biovecs - so implement a dumb version for bisectability, it'll go away
in a couple patches)

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Neil Brown <neilb@suse.de>
Cc: Nagalakshmi Nandigama <Nagalakshmi.Nandigama@lsi.com>
Cc: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
2013-11-23 22:33:51 -08:00
..
mpi [SCSI] mpt3sas: MPI2.5 Rev F v2.5.1.1 specification 2013-07-09 08:52:53 +01:00
Kconfig [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
Makefile [SCSI] Allow MPT Fusion SAS 3.0 driver to be built into the kernel 2013-09-06 11:42:53 -07:00
mpt3sas_base.c [SCSI] mpt3sas: Added a driver module parameter max_msix_vectors 2013-09-03 07:27:55 -07:00
mpt3sas_base.h [SCSI] mpt3sas: Bump driver version to v02.100.00.00 2013-07-09 09:01:47 +01:00
mpt3sas_config.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_ctl.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_ctl.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_debug.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_scsih.c [SCSI] mpt3sas: fix cleanup on controller resource mapping failure 2013-08-26 18:53:45 +04:00
mpt3sas_transport.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
mpt3sas_trigger_diag.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_trigger_diag.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00