mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
[t:4125], remove cilk code from brt_merge_child
git-svn-id: file:///svn/toku/tokudb@36810 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7d828bbd29
commit
78d6a19d95
1 changed files with 1 additions and 8 deletions
|
@ -2959,13 +2959,7 @@ brt_merge_child (struct brt_header* h, BRTNODE node, int childnum_to_merge, BOOL
|
|||
// unlock the parent
|
||||
assert(node->dirty);
|
||||
toku_unpin_brtnode_off_client_thread(h, node);
|
||||
|
||||
if (childb->height > 0 && nonleaf_node_is_gorged(childb)) {
|
||||
cilk_spawn flush_some_child(h, childb);
|
||||
}
|
||||
else {
|
||||
toku_unpin_brtnode_off_client_thread(h, childb);
|
||||
}
|
||||
toku_unpin_brtnode_off_client_thread(h, childb);
|
||||
}
|
||||
if (childa->height > 0 && nonleaf_node_is_gorged(childa)) {
|
||||
flush_some_child(h, childa);
|
||||
|
@ -2973,7 +2967,6 @@ brt_merge_child (struct brt_header* h, BRTNODE node, int childnum_to_merge, BOOL
|
|||
else {
|
||||
toku_unpin_brtnode_off_client_thread(h, childa);
|
||||
}
|
||||
cilk_sync;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue