]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: Convert bch_btree_read_async() to bch_btree_map_keys()
authorKent Overstreet <kmo@daterainc.com>
Thu, 25 Jul 2013 00:41:08 +0000 (17:41 -0700)
committerKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 01:48:59 +0000 (18:48 -0700)
commit42cdb731eb66693c6ad12bb28ae2f471f8bb0aa6
treecdee9198ce838d6ff5003594c5d1395062ffd378
parentc00a7f5c665544e32b253ac23f3220f12a866d4f
bcache: Convert bch_btree_read_async() to bch_btree_map_keys()

This is a fairly straightforward conversion, mostly reshuffling -
op->lookup_done goes away, replaced by MAP_DONE/MAP_CONTINUE. And the
code for handling cache hits and misses wasn't really btree code, so it
gets moved to request.c.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c
drivers/md/bcache/btree.h
drivers/md/bcache/journal.c
drivers/md/bcache/request.c
drivers/md/bcache/request.h