diff options
author | Sage Weil <sage@newdream.net> | 2009-02-18 11:53:51 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-02-18 11:53:51 -0800 |
commit | 94c5031e6d264dce2efc43d264349b9527ea802f (patch) | |
tree | 02392582e8033e051ab669d14dd7fb900f8b3aee | |
parent | cec662cc5f36f298e96272822b405a8973d787a2 (diff) | |
download | ceph-94c5031e6d264dce2efc43d264349b9527ea802f.tar.gz |
script: fix check_osd_request_latency
-rwxr-xr-x | src/script/check_osd_request_latency.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/check_osd_request_latency.pl b/src/script/check_osd_request_latency.pl index 63f750fbc3a..910b9906c66 100755 --- a/src/script/check_osd_request_latency.pl +++ b/src/script/check_osd_request_latency.pl @@ -17,14 +17,14 @@ while (<>) { chomp; my ($stamp) = /^\S+ (\S+) /; - my ($who,$tid) = /osd\d+ <.. (\D+\d+) \S+ \S+ osd_op\(\S+:(\d+)/; + my ($who,$tid) = /osd\d+ <.. (\D+\d+) \S+ \S+ osd_op\((\S+)/; if (defined $tid) { my $req = "$who:$tid"; $r{$req} = $stamp unless exists $r{$req}; next; } - my ($who,$tid) = /\d+ -- \S+ osd\d+ --> (\D+\d+) \S+ \S+ osd_op_reply\((\d+)/; + my ($who,$tid) = /\d+ -- \S+ osd\d+ --> (\D+\d+) \S+ \S+ osd_op_reply\((\S+) /; if (defined $tid) { my $req = "$who:$tid"; if (exists $r{$req}) { |