linux/drivers/scsi/mpt2sas
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] mpt2sas: MPI2 Rev X (2.00.16) specifications 2013-09-03 07:27:51 -07:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_base.h [SCSI] mpt2sas: Bump driver version to v16.100.00.00 2013-09-03 07:27:53 -07:00
mpt2sas_config.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_debug.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_scsih.c [SCSI] mpt2sas: Fix for kernel panic when driver loads with HBA connected to non LUN 0 configured expander 2013-09-03 07:27:52 -07:00
mpt2sas_transport.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00