linux/drivers/md/bcache
Kent Overstreet cc23196631 bcache: Clean up cache_lookup_fn
There was some looping in submit_partial_cache_hit() and
submit_partial_cache_hit() that isn't needed anymore - originally, we
wouldn't necessarily process the full hit or miss all at once because
when splitting the bio, we took into account the restrictions of the
device we were sending it to.

But, device bio size restrictions are now handled elsewhere, with a
wrapper around generic_make_request() - so that looping has been
unnecessary for awhile now and we can now do quite a bit of cleanup.

And if we trim the key we're reading from to match the subset we're
actually reading, we don't have to explicitly calculate bi_sector
anymore. Neat.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
2013-11-10 21:56:08 -08:00
..
alloc.c bcache: Convert gc to a kthread 2013-11-10 21:56:04 -08:00
bcache.h bcache: Add btree_map() functions 2013-11-10 21:56:06 -08:00
bset.c bcache: Add btree_map() functions 2013-11-10 21:56:06 -08:00
bset.h bcache: Clean up keylist code 2013-11-10 21:56:00 -08:00
btree.c bcache: Convert bch_btree_read_async() to bch_btree_map_keys() 2013-11-10 21:56:07 -08:00
btree.h bcache: Convert bch_btree_read_async() to bch_btree_map_keys() 2013-11-10 21:56:07 -08:00
closure.c bcache: Fix a dumb race 2013-07-12 00:22:33 -07:00
closure.h bcache: Refactor journalling flow control 2013-11-10 21:56:02 -08:00
debug.c bcache: Use standard utility code 2013-07-01 14:43:53 -07:00
debug.h bcache: Rip out pkey()/pbtree() 2013-06-26 17:09:15 -07:00
io.c bcache: Use standard utility code 2013-07-01 14:43:53 -07:00
journal.c bcache: Convert bch_btree_read_async() to bch_btree_map_keys() 2013-11-10 21:56:07 -08:00
journal.h bcache: Refactor journalling flow control 2013-11-10 21:56:02 -08:00
Kconfig bcache: drop "select CLOSURES" 2013-05-15 00:42:51 -07:00
Makefile
movinggc.c bcache: Convert gc to a kthread 2013-11-10 21:56:04 -08:00
request.c bcache: Clean up cache_lookup_fn 2013-11-10 21:56:08 -08:00
request.h bcache: Convert bch_btree_read_async() to bch_btree_map_keys() 2013-11-10 21:56:07 -08:00
stats.c bcache: Fix error handling in init code 2013-05-15 00:48:14 -07:00
stats.h
super.c bcache: Convert writeback to a kthread 2013-11-10 21:56:05 -08:00
sysfs.c bcache: Convert gc to a kthread 2013-11-10 21:56:04 -08:00
sysfs.h bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
trace.c bcache: Rip out pkey()/pbtree() 2013-06-26 17:09:15 -07:00
util.c bcache: Fix a writeback performance regression 2013-09-24 14:41:43 -07:00
util.h bcache: Fix a writeback performance regression 2013-09-24 14:41:43 -07:00
writeback.c bcache: Add btree_map() functions 2013-11-10 21:56:06 -08:00
writeback.h bcache: Convert writeback to a kthread 2013-11-10 21:56:05 -08:00