diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-25 00:20:19 (GMT) |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 05:55:57 (GMT) |
commit | d6fd3b11cea82346837957feab25b0be48aa424c (patch) | |
tree | 992f1de98ba935284feac7569eea7d86dcf5bdd7 /drivers/atm/nicstar.h | |
parent | 8304ad4dc818ffd701c2f3e90683b5b8013f44e2 (diff) | |
download | linux-d6fd3b11cea82346837957feab25b0be48aa424c.tar.xz |
bcache: Explicitly track btree node's parent
This is prep work for the reworked btree insertion code.
The way we set b->parent is ugly and hacky... the problem is, when
btree_split() or garbage collection splits or rewrites a btree node, the
parent changes for all its (potentially already cached) children.
I may change this later and add some code to look through the btree node
cache and find all our cached child nodes and change the parent pointer
then...
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/atm/nicstar.h')
0 files changed, 0 insertions, 0 deletions