WSL2-Linux-Kernel/drivers/md/bcache
Kent Overstreet e90abc8ec3 block: Remove bi_idx hacks
Now that drivers have been converted to the new bvec_iter primitives,
there's no need to trim the bvec before we submit it; and we can't trim
it once we start sharing bvecs.

It used to be that passing a partially completed bio (i.e. one with
nonzero bi_idx) to generic_make_request() was a dangerous thing -
various drivers would choke on such things. But with immutable biovecs
and our new bio splitting that shares the biovecs, submitting partially
completed bios has to work (and should work, now that all the drivers
have been completed to the new primitives)

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
2013-11-23 22:33:55 -08:00
..
Kconfig bcache: Debug code improvements 2013-11-10 21:56:34 -08:00
Makefile
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: Remove bi_idx hacks 2013-11-23 22:33:55 -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
movinggc.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
request.c block: Add bio_clone_fast() 2013-11-23 22:33:54 -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