A brief file description. More...
#include "P_Cluster.h"
Go to the source code of this file.
Functions | |
void | cluster_schedule (ClusterHandler *ch, ClusterVConnection *vc, ClusterVConnState *ns) |
void | cluster_reschedule_offset (ClusterHandler *ch, ClusterVConnection *vc, ClusterVConnState *ns, int offset) |
IOBufferBlock * | clone_IOBufferBlockList (IOBufferBlock *b, int start_off, int n, IOBufferBlock **b_tail) |
IOBufferBlock * | consume_IOBufferBlockList (IOBufferBlock *b, int64_t n) |
int64_t | bytes_IOBufferBlockList (IOBufferBlock *b, int64_t read_avail_bytes) |
void | dump_time_buckets () |
Variables | |
unsigned int | cluster_sequence_number = 0 |
int | time_trace = 0 |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file ClusterLib.cc.
int64_t bytes_IOBufferBlockList | ( | IOBufferBlock * | b, | |
int64_t | read_avail_bytes | |||
) |
Definition at line 184 of file ClusterLib.cc.
References IOBufferBlock::next, IOBufferBlock::read_avail(), and IOBufferBlock::write_avail().
Referenced by ClusterState::build_do_io_vector(), ClusterHandler::build_initial_vector(), CacheContinuation::replyOpEvent(), OutgoingControl::set_data(), CacheContinuation::setupReadBufTunnel(), and ClusterHandler::valid_for_data_write().
IOBufferBlock* clone_IOBufferBlockList | ( | IOBufferBlock * | b, | |
int | start_off, | |||
int | n, | |||
IOBufferBlock ** | b_tail | |||
) |
Definition at line 90 of file ClusterLib.cc.
References IOBufferBlock::clone(), IOBufferBlock::consume(), IOBufferBlock::fill(), ink_release_assert, IOBufferBlock::next, and IOBufferBlock::read_avail().
Referenced by ClusterHandler::valid_for_data_write(), ClusterHandler::valid_for_freespace_write(), and CacheContinuation::VCdataRead().
void cluster_reschedule_offset | ( | ClusterHandler * | ch, | |
ClusterVConnection * | vc, | |||
ClusterVConnState * | ns, | |||
int | offset | |||
) |
Definition at line 55 of file ClusterLib.cc.
References CLUSTER_BUCKETS, ClusterVC_enqueue_read(), ClusterVC_enqueue_write(), ClusterVC_remove_read(), ClusterVC_remove_write(), ClusterHandlerBase::cur_vcs, ClusterVConnState::queue, ClusterVConnectionBase::read, ClusterHandlerBase::read_vcs, ClusterVConnectionBase::write, and ClusterHandlerBase::write_vcs.
Referenced by ClusterHandler::build_freespace_descriptors(), and ClusterHandler::build_write_descriptors().
void cluster_schedule | ( | ClusterHandler * | ch, | |
ClusterVConnection * | vc, | |||
ClusterVConnState * | ns | |||
) |
Definition at line 38 of file ClusterLib.cc.
References ClusterVC_enqueue_read(), ClusterVC_enqueue_write(), ClusterHandlerBase::cur_vcs, ClusterVConnectionBase::read, ClusterHandlerBase::read_vcs, ClusterVConnection::type, VC_NULL, and ClusterHandlerBase::write_vcs.
Referenced by ClusterVConnection::start().
IOBufferBlock* consume_IOBufferBlockList | ( | IOBufferBlock * | b, | |
int64_t | n | |||
) |
Definition at line 152 of file ClusterLib.cc.
References IOBufferBlock::clone(), IOBufferBlock::consume(), IOBufferBlock::fill(), ink_release_assert, IOBufferBlock::next, and IOBufferBlock::read_avail().
Referenced by ClusterHandler::build_initial_vector().
void dump_time_buckets | ( | ) |
Definition at line 283 of file ClusterLib.cc.
Referenced by GlobalClusterPeriodicEvent::calloutEvent().
unsigned int cluster_sequence_number = 0 |
Definition at line 72 of file ClusterLib.cc.
Referenced by ClusterVCToken::alloc().
int time_trace = 0 |
Definition at line 280 of file ClusterLib.cc.