X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=buffer_tree.c;h=3a59f8b5e2e20fa20c94117dd31e2655101936cf;hp=9884c2e2ff1b1fc4661bab71b585bede6d2eba6a;hb=6b935f552ebfe3a0a83ec9367deb2f42c1aff252;hpb=e8089cd5efad59a5eec689117acf563a38b8c6c7 diff --git a/buffer_tree.c b/buffer_tree.c index 9884c2e2..3a59f8b5 100644 --- a/buffer_tree.c +++ b/buffer_tree.c @@ -783,15 +783,6 @@ size_t btr_get_output_queue_size(struct btr_node *btrn) return max_size; } -int btr_exec(struct btr_node *btrn, const char *command, char **value_result) -{ - if (!btrn) - return -ERRNO_TO_PARA_ERROR(EINVAL); - if (!btrn->execute) - return -ERRNO_TO_PARA_ERROR(ENOTSUP); - return btrn->execute(btrn, command, value_result); -} - /** * Execute a inter-node command on a parent node. * @@ -1076,7 +1067,7 @@ struct btr_node *btr_search_node(const char *name, struct btr_node *root) } /** 640K ought to be enough for everybody ;) */ -#define BTRN_MAX_PENDING (640 * 1024) +#define BTRN_MAX_PENDING (96 * 1024) /** * Return the current state of a buffer tree node.