Aaron Jacobs
|
366567acf6
|
Updated some wording.
|
2015-03-24 13:47:59 +11:00 |
Aaron Jacobs
|
c4c7ce568c
|
Added a callout to msync for SyncFile.
|
2015-03-24 13:46:35 +11:00 |
Aaron Jacobs
|
dd25450c72
|
Wrote a novel on mmap'd files.
|
2015-03-24 13:45:56 +11:00 |
Aaron Jacobs
|
a0d210e535
|
Updated msync tests after setting MS_SYNC.
|
2015-03-24 13:36:33 +11:00 |
Aaron Jacobs
|
80c462596d
|
Oops, set MS_SYNC or Linux does nothing.
|
2015-03-24 13:32:41 +11:00 |
Aaron Jacobs
|
917735c39e
|
Added documentation about the safe way to close a mapping.
|
2015-03-24 13:06:41 +11:00 |
Aaron Jacobs
|
97c18fea3e
|
Updated the reference for the assertion about munmap.
The link points here:
http://sourceforge.net/p/fuse/mailman/message/33627382/
This is a fuse-devel thread titled "munmap(2) and fuse flush requests"
by me on 2015-03-23.
|
2015-03-24 13:04:53 +11:00 |
Aaron Jacobs
|
3aaca555a4
|
NoErrorsTest.Mmap_WithMsync_CloseBeforeMunmap
|
2015-03-24 13:01:32 +11:00 |
Aaron Jacobs
|
2f5062ac6c
|
Oops, msync helper is broken.
|
2015-03-24 13:00:18 +11:00 |
Aaron Jacobs
|
331695907b
|
Oops, forgot to msync.
|
2015-03-24 12:58:59 +11:00 |
Aaron Jacobs
|
597e126409
|
NoErrorsTest.Mmap_WithMsync_MunmapBeforeClose
|
2015-03-24 12:57:38 +11:00 |
Aaron Jacobs
|
0888482d8a
|
Implemented msync helper.
|
2015-03-24 12:56:01 +11:00 |
Aaron Jacobs
|
edd7a48815
|
Declared msync-related tests.
|
2015-03-24 12:53:40 +11:00 |
Aaron Jacobs
|
a032446479
|
Removed GOMAXPROCS-related workarounds.
These are no longer needed as of the work in #4.
|
2015-03-24 12:53:12 +11:00 |
Aaron Jacobs
|
02eb1c8e32
|
Added flushfs tests involving fdatasync and directories.
For GoogleCloudPlatform/gcsfuse#13.
|
2015-03-24 12:33:22 +11:00 |
Aaron Jacobs
|
9689fd896f
|
Fixed fdatasync build errors on linux.
|
2015-03-24 12:32:56 +11:00 |
Aaron Jacobs
|
690a8214c2
|
Added a missing file.
|
2015-03-24 12:31:50 +11:00 |
Aaron Jacobs
|
e4e12848fb
|
Fixed fdatasync build errors on darwin.
|
2015-03-24 12:31:16 +11:00 |
Aaron Jacobs
|
cf22c43238
|
Removed redundant checks that don't work for all error types.
|
2015-03-24 12:26:22 +11:00 |
Aaron Jacobs
|
e74d8b6a85
|
Added a --debug flag.
|
2015-03-24 12:25:27 +11:00 |
Aaron Jacobs
|
db0ab82bdd
|
FsyncErrorTest.Fdatasync
|
2015-03-24 12:24:00 +11:00 |
Aaron Jacobs
|
51f6b01135
|
NoErrorsTest.Fdatasync
|
2015-03-24 12:22:25 +11:00 |
Aaron Jacobs
|
5f3f94992c
|
Undid debugging changes.
|
2015-03-24 12:04:47 +11:00 |
Aaron Jacobs
|
fddf222e4f
|
Declared fdatasync tests.
|
2015-03-24 12:04:16 +11:00 |
Aaron Jacobs
|
096c3fa695
|
Added a test for directories.
|
2015-03-24 12:02:48 +11:00 |
Aaron Jacobs
|
38862e8650
|
Set GOMAXPROCS=2 in mount_sample to help flush out issues like #4.
|
2015-03-24 11:53:32 +11:00 |
Aaron Jacobs
|
53bae01f57
|
Run the flushfs test in a subprocess to eliminate page fault deadlocks.
For #4.
|
2015-03-24 11:42:01 +11:00 |
Aaron Jacobs
|
4584e4de8f
|
Be consistent about file names.
|
2015-03-24 11:27:58 +11:00 |
Aaron Jacobs
|
12b184c011
|
Clean up after the tool binary.
|
2015-03-24 11:27:18 +11:00 |
Aaron Jacobs
|
6cc47f10ed
|
Unlink mount points on tear-down.
|
2015-03-24 11:04:15 +11:00 |
Aaron Jacobs
|
5a7e50daa6
|
Use a helper to be more sure that temp files are cleaned up at exit.
|
2015-03-24 10:59:46 +11:00 |
Aaron Jacobs
|
b5e00243ba
|
Allow re-using the mount_sample binary across runs.
|
2015-03-24 10:24:08 +11:00 |
Aaron Jacobs
|
6729af8524
|
Synchronize on ready with a pipe.
|
2015-03-24 10:08:17 +11:00 |
Aaron Jacobs
|
49455cd59c
|
Wait for tool in a goroutine.
|
2015-03-24 09:59:13 +11:00 |
Aaron Jacobs
|
b62be9632c
|
Pass report files by file descriptor.
|
2015-03-24 09:46:05 +11:00 |
Aaron Jacobs
|
a438466587
|
Fixed another invocation problem.
|
2015-03-24 09:27:09 +11:00 |
Aaron Jacobs
|
6b6c7c92ca
|
Added a sleep workaround for now.
|
2015-03-24 09:26:41 +11:00 |
Aaron Jacobs
|
61f3528c80
|
Fixed another invocation bug.
|
2015-03-24 09:26:16 +11:00 |
Aaron Jacobs
|
47445387e7
|
Fixed an invocation bug.
|
2015-03-24 09:25:43 +11:00 |
Aaron Jacobs
|
258104ae32
|
Include stderr in exit errors.
|
2015-03-24 09:22:39 +11:00 |
Aaron Jacobs
|
39dfb0c887
|
Don't hide command termination errors behind unmount errors.
|
2015-03-24 09:07:30 +11:00 |
Aaron Jacobs
|
dff6fe8c82
|
Share unmount code.
|
2015-03-24 09:00:50 +11:00 |
Aaron Jacobs
|
53d662ca0b
|
Fixed go build arg order.
|
2015-03-24 08:53:52 +11:00 |
Aaron Jacobs
|
d12a25db1c
|
Fixed two build errors.
|
2015-03-24 08:53:11 +11:00 |
Aaron Jacobs
|
2665bd1342
|
Other SetUp methods.
|
2015-03-24 08:52:56 +11:00 |
Aaron Jacobs
|
f92de1a6e7
|
NoErrorsTest.SetUp
|
2015-03-24 08:52:05 +11:00 |
Aaron Jacobs
|
ddfca9cb6b
|
Implemented readReports.
|
2015-03-24 08:51:19 +11:00 |
Aaron Jacobs
|
c090f136cd
|
Implemented getFlushes and getFsyncs.
|
2015-03-24 08:45:01 +11:00 |
Aaron Jacobs
|
cab543fa8c
|
Fixed more build errors.
|
2015-03-24 08:43:24 +11:00 |
Aaron Jacobs
|
e7dc200b88
|
Fixed some build errors.
|
2015-03-24 08:43:03 +11:00 |