linux/drivers/md/bcache
Kent Overstreet 196d38bccf block: Generic bio chaining
This adds a generic mechanism for chaining bio completions. This is
going to be used for a bio_split() replacement, and it turns out to be
very useful in a fair amount of driver code - a fair number of drivers
were implementing this in their own roundabout ways, often painfully.

Note that this means it's no longer to call bio_endio() more than once
on the same bio! This can cause problems for drivers that save/restore
bi_end_io. Arguably they shouldn't be saving/restoring bi_end_io at all
- in all but the simplest cases they'd be better off just cloning the
bio, and immutable biovecs is making bio cloning cheaper. But for now,
we add a bio_endio_nodec() for these cases.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
2013-11-23 22:33:56 -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: Generic bio chaining 2013-11-23 22:33:56 -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 bcache: A block layer cache 2013-03-23 16:11:31 -07: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