diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-24 17:22:44 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-10 21:55:58 -0800 |
commit | 403b6cdeb1a38d896ffcb1f99ddcfd4e343b5d69 (patch) | |
tree | 2fa7640261ef7cfb861c1df470a86d8cef420b11 /block/blk-iopoll.c | |
parent | 26c949f8062cb9221a28b2228104f1cc5b265097 (diff) | |
download | blackbird-op-linux-403b6cdeb1a38d896ffcb1f99ddcfd4e343b5d69.tar.gz blackbird-op-linux-403b6cdeb1a38d896ffcb1f99ddcfd4e343b5d69.zip |
bcache: Insert multiple keys at a time
We'll often end up with a list of adjacent keys to insert -
because bch_data_insert() may have to fragment the data it writes.
Originally, to simplify things and avoid having to deal with corner
cases bch_btree_insert() would pass keys from this list one at a time to
btree_insert_recurse() - mainly because the list of keys might span leaf
nodes, so it was easier this way.
With the btree_insert_node() refactoring, it's now a lot easier to just
pass down the whole list and have btree_insert_recurse() iterate over
leaf nodes until it's done.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions