Commit Graph

5 Commits

Author SHA1 Message Date
Salmān Aljammāz 64220e06ff fs: set OpenDirectIO in stats files to avoid having them cached in kernel
bazil.org/fuse switched from having OpenDirectIO on to having it
off by default. This has the side effect of allowing OS X's kernel
to cache the filesystem's files in its UBC, giving us incorrect
stats from cammount's .camli_fs_stats directory. This change sets
it explicitly to get the correct behaviour again.

Updates #556

Change-Id: Ic6400a550e4874086cf5fb725d423fcfde47fd61
2014-12-26 18:09:32 +00:00
Tommi Virtanen 6cda29582b third_party: Switch FUSE library to bazil.org/fuse
import bazil.org/fuse at f6649cd46fb76b1e04ba9eeffb773cb189278d31
remove code.google.com/p/rsc/fuse.

Huge thanks to Tommi Virtanen for the fuse support.

Change-Id: I44b95ac1ea344648593c7376f83ca675a56077b3
2014-01-24 13:28:08 -08:00
Dustin Sallings d768e5c5a6 FUSE time travel
Change-Id: I54f6c95629374fe2b578e4a0dec017fb9d724b32
2013-12-27 19:19:06 -08:00
Brad Fitzpatrick 7560bddf6e fs: add build tags to debug.go. Fixes FreeBSD build, again.
Change-Id: I07dbe98d3860658c8fc4adbf8386eb0dc84147e1
2013-07-29 08:53:19 -07:00
Brad Fitzpatrick ff9ab092b1 fs: add .camli_fs_stats root directory; use it in tests.
Currently one a few stats are tracked, but more can be added easily now.

The only test using this is using it to verify that the read-only open optimization
is used.

Change-Id: I1e2fb8a0222ade82631670d7c51e684778d031ae
2013-07-21 21:13:16 -07:00