- 24 Oct, 2016 1 commit
-
-
Jakob Unterwurzacher authored
1) Fix the "a" instead of "m" typo in loopbackFile.Utimens. Besides the incorrect behavoir, this causes a crash if "a" is nil. Obsoletes https://github.com/hanwen/go-fuse/pull/100 . 2) Enable nanosecond resolution for dates after 1970. syscall.NsecToTimespec is broken for dates before 1970 but works fine otherwise, so let's keep the nanoseconds there. 3) Deduplicate the time conversion code in nodefs and paths into the new function fuse.UtimeToTimespec. 4) Add a test case.
-
- 18 Oct, 2016 2 commits
-
-
Mike Gray authored
-
Han-Wen Nienhuys authored
-
- 15 Sep, 2016 3 commits
-
-
Han-Wen Nienhuys authored
Panic if we insert invalid branchResult into the cache. Should provide more data for bug #109.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Ensure all.bash tests compilation on both Darwin and Linux. Fixes #125.
-
- 25 Aug, 2016 1 commit
-
-
Han-Wen Nienhuys authored
-
- 11 Aug, 2016 4 commits
-
-
Han-Wen Nienhuys authored
This makes it evident which tests leak mount points. Move shared test utilities into internal/testutil/ package.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
This is less overhead, and fixes the darwin tests that use InitIn.
-
- 10 Aug, 2016 1 commit
-
-
Adam H. Leventhal authored
Fixed handling of ENOSYS in unionfs.
-
- 09 Aug, 2016 4 commits
-
-
Jakob Unterwurzacher authored
When mounting using relative paths, "touch" on directories used to fail. "touch" on files works accidentially because it uses a file descriptor internally. $ loopback b a & $ cd b $ mkdir foo $ touch foo touch: setting times of 'foo': Not a directory strace: [pid 30185] utimensat(0, "a/foo", [{1468441847, 0}, {1468441847, 0}], AT_SYMLINK_NOFOLLOW <unfinished ...> [pid 30185] <... utimensat resumed> ) = -1 ENOTDIR (Not a directory)
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Adam H. Leventhal authored
On Mac OS X the Finder loses its mind if GetXAttr returns ENODATA rather than ENOATTR. On Linux, ENOATTR is just an alias for ENOATTR. The Linux man page references ENOATTR: http://man7.org/linux/man-pages/man2/fgetxattr.2.html
-
- 04 Aug, 2016 3 commits
-
-
Han-Wen Nienhuys authored
Gerrithub requires overly broad write permissions, and hence its usage is discontinued.
-
Han-Wen Nienhuys authored
Add AUTHORS file.
-
Adam H. Leventhal authored
-
- 03 Aug, 2016 3 commits
-
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
This makes CFuse and go-fuse easier to compare. Get rid of the baroque analysis code, unused delay code, and some general cleanup.
-
Han-Wen Nienhuys authored
Surpress benchmark if -v is not given.
-
- 31 Jul, 2016 1 commit
-
-
Adam H. Leventhal authored
-
- 25 Jul, 2016 5 commits
-
-
Han-Wen Nienhuys authored
circuit our read. Change-Id: Id83c4b3738c5cedf9d9b738cab21632db6061126
-
Han-Wen Nienhuys authored
kernel. Change-Id: Ic481d3aadac3979722f9d7c1e2f8d305dcbd7e10
-
Han-Wen Nienhuys authored
Use normal loopback for LargeWrite test, and move it into loopback_test.go Change-Id: I61c8186aea63f7bb6e591f1bcadcdad49e0866fe
-
Han-Wen Nienhuys authored
Change-Id: Id6edd71df1e623affbbc66b2d96b5c23aedd3fe0
-
Han-Wen Nienhuys authored
Check for kernel version before trying notify. Change-Id: I6b241dd53377d4aa43b109b981f3941d2ad8dbb4
-
- 22 Jul, 2016 1 commit
-
-
Han-Wen Nienhuys authored
The strategy was inspired by the mount code for Darwin in bazil.org/fuse. Unfortunately, OSX must have the event loop started before mounting can be completed. This means that WaitMount() must be maintained for use on OSX. Change-Id: Ie53425f306b4575b3e94e45407bab05017f5ce14
-
- 18 Jul, 2016 4 commits
-
-
Han-Wen Nienhuys authored
Change-Id: I6e17cd513f1a26110a36208f36d1a190675eb986
-
Han-Wen Nienhuys authored
Change-Id: I6a340b15a4876998616c7c16574b38531a9ba9c7
-
Han-Wen Nienhuys authored
Change-Id: I265108f96471b9b472c29c2d9fbbd1d4dd6b44d0
-
Han-Wen Nienhuys authored
Change-Id: I8eeddc02b1793fb546aa35f50c99b9e912d19123
-
- 13 Jul, 2016 2 commits
-
-
Han-Wen Nienhuys authored
Change-Id: Iec448c7b731893312a846f6b42c87c660b2399d6
-
Han-Wen Nienhuys authored
This ensures that the caller can access fsConnector.Server(), eg. to inspect the InitRequest or InitResponse. Change-Id: Ia09d77eae0f1af8bce46b07f386fdda20b2ccb95
-
- 12 Jul, 2016 2 commits
-
-
Han-Wen Nienhuys authored
sync.Pool is safe for concurrent use. Change-Id: I013f391fea9ed218e6bd4529fd2f62de75735bff
-
Han-Wen Nienhuys authored
Change-Id: Idddaef2216c2fd216476da8744efcda679f12dd6
-
- 11 Jul, 2016 1 commit
-
-
Han-Wen Nienhuys authored
SetDebug methods are maintained for compatibility. This is part of a patch series to process the INIT opcode on mount. This will enable filesystems to switch functionality depending on kernel settings. In order to get the debug output for the INIT opcode, the debug option must be passed to the mount method. Deprecate the SetDebug methods. There is often little practical use in toggling debug on the fly, since the error scenarios depend on timing details, and must usually be isolated into unittests. Change-Id: I221c995add5f7621b627f738d7e97af7daf81b2a
-
- 05 Jul, 2016 2 commits
-
-
Han-Wen Nienhuys authored
This fixes flakiness in TestNoOpen. Change-Id: I8909236d9539c1729bd8a78d460d6637f7c775e0
-
Han-Wen Nienhuys authored
Change-Id: I78393b40721d71a6ba4cdc634da079dec5669c26
-