Add a test case for flush in ggate.
And while here fix the problem it uncovers.
fsync() doesn't actually result in any flushes... but i suppose we want both here? any opinions?
how to trigger a bio_flush from user mode? zpool works. none of the fsync or dd with conv=fsync do, however.
cleanup is not great...
the cleanup() functions here are never called when i try to run this script.
no, bad idea... this breaks the tests (they no longer fail on failure)
this way around the test will only pass if numflushes has a number in it.
fill the whole device
64m is minimum pool size.