Here is my preamble paragraph, but I could really place the TOC anywhere! Lorem ipsum foo bar baz.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
direct=1 | |
ioengine=libaio | |
rw=randwrite | |
numjobs=16 | |
size=1G | |
bs=16k | |
time_based | |
runtime=20 | |
group_reporting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
direct=1 | |
ioengine=libaio | |
rw=randread | |
size=1G | |
numjobs=2 | |
bs=4k | |
time_based | |
runtime=10 | |
ramp_time=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
direct=1 | |
ioengine=libaio | |
rw=randwrite | |
numjobs=16 | |
size=1G | |
bs=16k | |
time_based | |
runtime=20 | |
group_reporting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
direct=1 | |
ioengine=libaio | |
rw=randwrite | |
numjobs=1 | |
iodepth=256 | |
size=50G | |
bs=4k | |
time_based | |
runtime=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from twisted.internet import reactor | |
from twisted.internet.task import Clock, deferLater | |
from twisted.internet.defer import succeed | |
def opaque_animal_noise_generator(): | |
""" | |
Opaque piece of test infra that we can't touch (actually does networking or | |
something so really uses the real reactor). | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before: | |
● ~/flocker (master)$ sudo mount | grep bind | |
/home/ubuntu/flocker/_trial_temp/flocker.node.agents.test.test_bl/BlockDeviceManagerTests/test_bind_mount/tmpk5d9T1/temp/0386b1ff-34ef-41ef-bb24-d0bfa04c048e on /home/ubuntu/flocker/_trial_temp/flocker.node.agents.test.test_bl/BlockDeviceManagerTests/test_bind_mount/tmpk5d9T1/temp/ecf14368-2697-44d1-baba-a0d785ecc45f type none (rw,bind) | |
● ~/flocker (master)$ sudo `which trial` -e flocker.node.agents.test.test_blockdevice_manager | |
could not remove FilePath('/home/ubuntu/flocker/_trial_temp'), caught OSError [Errno 16]: Device or resource busy | |
flocker.node.agents.test.test_blockdevice_manager | |
BlockDeviceManagerTests | |
test_bind_mount ... [OK] | |
test_failing_bind_mount ... [OK] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flocker.control._persistence import wire_decode, wire_encode | |
from collections import deque | |
import json | |
from pyrsistent import PRecord, PVector, PMap, PSet, PClass | |
from twisted.python.filepath import FilePath | |
from uuid import UUID | |
from datetime import datetime | |
from calendar import timegm | |
import timeit | |
from repoze.lru import LRUCache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import timeit | |
_ATOMIC_TYPES_LIST = [bool, int, float, str, unicode] | |
_ATOMIC_TYPES_SET = set(_ATOMIC_TYPES_LIST) | |
def is_a_type(x): | |
t = type(x) | |
if (t is bool or |