linux/drivers/md/bcache
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
..
alloc.c bcache: Don't bother with bucket refcount for btree node allocations 2013-11-10 21:56:34 -08:00
bcache.h bcache: Kill unaligned bvec hack 2013-11-23 22:33:47 -08:00
bset.c bcache: Delete some slower inline asm 2013-11-10 21:56:42 -08:00
bset.h bcache: Kill bch_next_recurse_key() 2013-11-10 21:56:39 -08:00
btree.c block: Convert bio_for_each_segment() to bvec_iter 2013-11-23 22:33:49 -08:00
btree.h bcache: Avoid deadlocking in garbage collection 2013-11-10 21:56:38 -08:00
closure.c bcache: Drop some closure stuff 2013-11-10 21:56:10 -08:00
closure.h bcache: Drop some closure stuff 2013-11-10 21:56:10 -08:00
debug.c block: Convert bio_for_each_segment() to bvec_iter 2013-11-23 22:33:49 -08:00
debug.h bcache: Bypass torture test 2013-11-10 21:56:43 -08:00
io.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
journal.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
journal.h bcache: Pull on disk data structures out into a separate header 2013-11-10 21:56:33 -08:00
Kconfig bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
Makefile
movinggc.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
request.c block: Convert bio_for_each_segment() to bvec_iter 2013-11-23 22:33:49 -08:00
request.h bcache: Move sector allocator to alloc.c 2013-11-10 21:56:32 -08:00
stats.c bcache: Break up struct search 2013-11-10 21:56:32 -08:00
stats.h bcache: Break up struct search 2013-11-10 21:56:32 -08:00
super.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
sysfs.c bcache: Bypass torture test 2013-11-10 21:56:43 -08:00
sysfs.h bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
trace.c bcache: Break up struct search 2013-11-10 21:56:32 -08:00
util.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
util.h bcache: Move spinlock into struct time_stats 2013-11-10 21:56:40 -08:00
writeback.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
writeback.h block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00