Commit Graph

28 Commits (master)

Author SHA1 Message Date
Michael Stapelberg 66d6bd9e7b gofmt with Go 1.19 9 months ago
Kurt Jensen d82237972e
Add support for max_pages and increase to 256 (#96)
* Bump protocol version to min 7.28, max 7.31
* Increase read/write buffer size to 1MiB
* Add new fields to initOp
* Set FUSE_MAX_PAGES flag for init
* Lower min minor version to 19 for osxfuse
* Fix linux WriteSize test
2 years ago
Michael Stapelberg fac69e018f statfs sample: add missing locking 2 years ago
Michael Stapelberg ae5da07e4c
remove naked returns across the code base (#75)
fixes #73
3 years ago
Arran Walker 5ee7049312 replace imports of "golang.org/x/net/context" with "context" 5 years ago
Aaron Jacobs a067b22c1d Fix issues around statfs(2) changes with osxfuse 3.
Tested on OS X 10.11.6 (15G1004) with osxfuse 3.5.2.
7 years ago
Andrew Gaul 1dcc6791f0 Report physical blocks used
Tools like du and ls -l use this value to calculate the space used.
Force block size to 512 bytes for simplicity and compatibility with
Mac OS X which uses an older FUSE.
8 years ago
Aaron Jacobs 246d37a0ba Updated Linux tests for the new behavior. 8 years ago
Aaron Jacobs 6565b52bcb Fixed the documentation to match reality on darwin. 8 years ago
Aaron Jacobs 7c543380ea Add tests for the newly-documented behavior on Darwin. 8 years ago
Aaron Jacobs e59a45f154 Added support for setting the OS X volume name.
While I was at it, added tests for fsname. I can't figure out how to
test the volume name.

For GoogleCloudPlatform/gcsfuse#125.
8 years ago
Aaron Jacobs be680e1860 Fixed StatFSTest.CapacityAndFreeSpace on Linux. 8 years ago
Aaron Jacobs ca114f296a Fixed most tests on Linux. 8 years ago
Aaron Jacobs 56d0249304 Copied darwin-specific tests as linux-specific ones. 8 years ago
Aaron Jacobs 811100635f Isolated darwin-specific tests. 8 years ago
Aaron Jacobs 69c97c577e StatFSTest.UnsupportedBlockSizes 8 years ago
Aaron Jacobs c96d308a7a Set f_frsize, fixing free space calculation by `df` on OS X. 8 years ago
Aaron Jacobs 81a0bd26c3 Fixed some test bugs. 8 years ago
Aaron Jacobs 27a921775e Fixed file writing. 8 years ago
Aaron Jacobs 64cbdfea9a StatFSTest.WriteSize 8 years ago
Aaron Jacobs e2910a4dba StatFSTest.CapacityAndFreeSpace 8 years ago
Aaron Jacobs d5cd319abc Share code for canonicalizing the mount point. 8 years ago
Aaron Jacobs 55d02a11bf StatFSTest.Syscall_NonZeroValues 8 years ago
Aaron Jacobs 5b35935801 StatFSTest.Syscall_ZeroValues 8 years ago
Aaron Jacobs da3ee9802b statFS.StatFS 8 years ago
Aaron Jacobs b316df06d5 Added test names. 8 years ago
Aaron Jacobs 0b2038c1cd Added a test stub. 8 years ago
Aaron Jacobs bf33224aea Wrote much of package statfs. 8 years ago