Skip to contentSkip to conversation

xfstests: fix 130, 132 for inifinitely-fast disks

PATCH In review Eric Sandeen 3 participants 3 messages Apr 23, 2009 – Apr 24, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: fix 130, 132 for inifinitely-fast disks

Due to the new quantum/holographic storage I'm testing, my disks go infinitely fast, thereby breaking some filters:

-XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +3 KiB, 1 ops; 0.0000 sec (inf EiB/sec and inf ops/sec)

I'm no regexp expert but I think the below change will fix it.

---

130 +1 -1
index f287d20..b0bbe73 100755
@@ -51,7 +51,7 @@ common_line_filter()
 
 _filter_xfs_io()
 {
-    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([0-9/.]* [GMKiBbytes]*\/sec and [0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
+    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([inf0-9/.]* [EPGMKiBbytes]*\/sec and [inf0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
 }
 
 # real QA test starts here
132 +1 -1
index df3d3d3..f373256 100755
@@ -43,7 +43,7 @@ common_line_filter()
 
 _filter_xfs_io()
 {
-    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([0-9/.]* [GMKiBbytes]*\/sec and [0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
+    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([inf0-9/.]* [EPGMKiBbytes]*\/sec and [inf0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
 }
 
 # real QA test starts here

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 2 lines · Eric Sandeen

Due to the new quantum/holographic storage I'm testing, my disks go infinitely fast, thereby breaking some filters:

If you want, send me those drives, and I'll test them for you ;)

Quoted 6 lines

-XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +3 KiB, 1 ops; 0.0000 sec (inf EiB/sec and inf ops/sec)

I'm no regexp expert but I think the below change will fix it.

Yep, that'll do it.

Josef 'Jeff' Sipek.

Signature · 7 lines
What is the difference between Mechanical Engineers and Civil Engineers?
Mechanical Engineers build weapons, Civil Engineers build targets.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
In reply to Eric Sandeen
Quoted 7 lines · Eric Sandeen

Due to the new quantum/holographic storage I'm testing, my disks go infinitely fast, thereby breaking some filters:

-XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +3 KiB, 1 ops; 0.0000 sec (inf EiB/sec and inf ops/sec)

I'm no regexp expert but I think the below change will fix it.

Looks good to me. I used to see this too when running xfsqa under qemu (with really fast disk (=host pagecache) and a really slow cpu..

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs