linux/drivers/message/fusion
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
..
lsi SCSI updates for post 3.2 merge window 2012-01-10 10:36:08 -08:00
Kconfig
Makefile message: change to new flag variable 2011-03-17 14:05:34 +01:00
mptbase.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
mptbase.h [SCSI] fusion: ensure NUL-termination of MptCallbacksName elements 2011-12-15 10:57:29 +04:00
mptctl.c mptctl: don't wank with fasync in ->release() 2013-04-29 15:41:44 -04:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h [SCSI] mpt fusion: Fixing 1078 data corruption issue for 36GB memory region 2009-06-09 17:21:31 -05:00
mptfc.c fusion: switch to ->show_info() 2013-04-09 14:13:18 -04:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
mptsas.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
mptsas.h [SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS 2010-07-27 12:02:32 -05:00
mptscsih.c fusion: switch to ->show_info() 2013-04-09 14:13:18 -04:00
mptscsih.h fusion: switch to ->show_info() 2013-04-09 14:13:18 -04:00
mptspi.c fusion: switch to ->show_info() 2013-04-09 14:13:18 -04:00