Ejemplo n.º 1
0
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
Ejemplo n.º 2
0
def is_slow_requests(line):
    return utils.log_match(line, montpl.slow_requests_match_list)
Ejemplo n.º 3
0
def is_eval_repop(line, words):
    return utils.log_match(line, osdtpl.eval_repop_match_list)
Ejemplo n.º 4
0
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
Ejemplo n.º 5
0
def is_write_op_end(line):
    return utils.log_match(line, osdtpl.op_reply_match_list)