- 09 Jun, 2017 2 commits
-
-
Han-Wen Nienhuys authored
This fixes 'du'. Fixes #159.
-
Han-Wen Nienhuys authored
Fixes #160.
-
- 24 Apr, 2017 1 commit
-
-
Jeff Hodges authored
This first race was easy to find and fix in the tests themselves. It exposes another race in nodefs.FileSystemConnector where a node's mount (and therefore, treeLock) is is not the same as the grand-parent node's is. Updates #138.
-
- 19 Apr, 2017 1 commit
-
-
OneOfOne authored
Fixes #134
-
- 14 Mar, 2017 1 commit
-
-
Orivej Desh authored
-
- 10 Mar, 2017 3 commits
-
-
companycy authored
-
Dustin Oprea authored
-
Ryan Guest authored
-
- 21 Dec, 2016 2 commits
-
-
Han-Wen Nienhuys authored
Change-Id: I04eb8c16d45dbeef872036aab4091741b981505c
-
Nick Craig-Wood authored
-
- 03 Nov, 2016 1 commit
-
-
Han-Wen Nienhuys authored
-
- 02 Nov, 2016 3 commits
-
-
Han-Wen Nienhuys authored
Fixes #127.
-
Jonathon Reinhart authored
This enhances nodes which embed defaultNode (which is most of them), allowing those implementations to omit a GetAttr() method. Without this, when the kernel calls GetAttr() for an open file, FUSE will return a size of zero, causing a read() of the file to always return 0, even though fuse returns a nonzero number of bytes. One can leverage this behavior to create a Linux procfs-like file, which stat shows to be zero bytes, but can be successfully read. N.B. This behavior is only useful if the FileSystemConnector Options specify AttrTimeout of zero. Otherwise, the result of the first call to GetAttr() (file == nil) is cached, and the kernel allows zero bytes to be read. With this caching disabled, the next GetAttr() call (file != nil) will be used to control the number of readable bytes.
-
Han-Wen Nienhuys authored
-
- 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 3 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
-