From: Kent Overstreet Date: Thu, 25 Jul 2013 00:20:19 +0000 (-0700) Subject: bcache: Explicitly track btree node's parent X-Git-Tag: v3.13-rc1~68^2~1^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6fd3b11cea82346837957feab25b0be48aa424c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed