diff options
author | Sage Weil <sage@newdream.net> | 2009-05-27 10:34:41 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-05-27 10:34:41 -0700 |
commit | d47415da3cd04c3321898029152caa4fe490503d (patch) | |
tree | 2936be140692ccaa8404e33f0100b47220bef7f7 /src/script | |
parent | cf57e06697dfcf180090265b87c5c2fd8b5d5fa7 (diff) | |
download | ceph-d47415da3cd04c3321898029152caa4fe490503d.tar.gz |
script: fix req format in osd latency check
Diffstat (limited to 'src/script')
-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 134cc0c132e..fbaa504e789 100755 --- a/src/script/check_osd_request_latency.pl +++ b/src/script/check_osd_request_latency.pl @@ -20,7 +20,7 @@ while (<>) { my ($who,$tid,$desc) = /osd\d+ <.. (\D+\d+) \S+ \d+ \S+ osd_op\((\S+) ([^\)]+)/; if (defined $tid) { - my $req = "$who:$tid"; + my $req = "$tid"; $r{$req} = $stamp unless exists $r{$req}; $desc{$req} = $desc; next; @@ -28,7 +28,7 @@ while (<>) { my ($who,$tid) = /\d+ -- \S+ osd\d+ --> (\D+\d+) \S+ \S+ osd_op_reply\((\S+) /; if (defined $tid) { - my $req = "$who:$tid"; + my $req = "$tid"; if (exists $r{$req}) { my $len = tosec($stamp) - tosec($r{$req}); |