mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
script: fix req format in osd latency check
This commit is contained in:
parent
cf57e06697
commit
d47415da3c
@ -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});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user