Add note about benchmarking.
[libguestfs-talks.git] / 2019-fosdem / 7200-error-filter.html
index 36e90f1..38d7c2f 100644 (file)
@@ -4,15 +4,6 @@
 
 <h1>Useful nbdkit filters: the error filter</h1>
 
-<style>
-b {
-    border: 1px solid rgb(204,0,0);
-    background: #eef;
-    padding: 5px;
-    border-radius: 15px;
-}
-</style>
-
 <pre>
 nbdkit --filter=error <i>[...]</i> error=EIO error-rate=10%
 
@@ -28,21 +19,8 @@ an error file.
 <code>ESHUTDOWN</code>.
 </ul>
 
-<!-- note: div must have position: relative so child elements position
-     is correct -->
-<div style="background: #cfc; border: 1px solid rgb(204,0,0);
-            position:relative;
-            width: 800px; height: 220px;">
-  <code style="position: absolute; top: 1px; left: 50px;">blocksize</code>
-  <code style="position: absolute; top: 50px; left: 100px;">cache</code>
-  <code style="position: absolute; top: 80px; left: 115px;">cow</code>
-  <code style="position: absolute; top: 140px; left: 10px;">delay</code>
-  <code style="position: absolute; top: 180px; left: 100px;"><b>error</b></code>
+<script>
+filters("1")
 
-  <code style="position: absolute; top: 10px; left: 400px;">fua</code>
-  <code style="position: absolute; top: 60px; left: 600px;">log</code>
-  <code style="position: absolute; top: 90px; left: 250px;">nozero</code>
-  <code style="position: absolute; top: 130px; left: 530px;">offset</code>
-  <code style="position: absolute; top: 150px; left: 280px;">partition</code>
-  <code style="position: absolute; top: 180px; left: 480px;">truncate</code>
-</div>
+document.getElementById("filter1-error").classList.add("highlighted")
+</script>