def is_ms_op_reply(line, words): ## could be read or write, need to identify in process_foo if utils.log_compare_without_len(words, osdtpl.ms_op_reply_words, osdtpl.ms_op_reply_idx_list): if utils.log_match(line, osdtpl.ms_op_reply_match_list): return True return False
def is_op_commit(line, words): return utils.log_compare_without_len(words, osdtpl.op_commit_words, osdtpl.op_commit_idx_list)
def is_dequeue_op_start(words): return utils.log_compare_without_len(words, osdtpl.dequeue_op_start_words, osdtpl.dequeue_op_start_idx_list)
def is_enqueue_op(words): return utils.log_compare_without_len(words, osdtpl.enqueue_op_words, osdtpl.enqueue_op_idx_list)
def is_subop_reply(line, words): if utils.log_compare_without_len(words, osdtpl.subop_reply_words, osdtpl.subop_reply_idx_list): if utils.log_match(line, osdtpl.subop_reply_match_list): return True return False