- 27 Mar, 2019 40 commits
-
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Allow nil FileHandles. Change DefaultOperations to be for a ReadOnly in-memory filesystem.
-
Han-Wen Nienhuys authored
The fd is set on creation, and never written. We rely on the kernel and on fileEntry.wg to synchronize such that RELEASE always happens after read/write has completed.
-
Han-Wen Nienhuys authored
This makes the inodes in loopback reflect the underlying inodes if they don't span mounts
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
* MutableDirOperations * XAttrOperations * LockOperations
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
add MaxPages to InitOut
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Use a []uint32 in Inode to keep track of open files. This reduces the memory consumption of this feature. Add a test that tries to (unsuccessfully) trigger file closing on the while file.GetAttr is under way
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
This is necessary to provide a file handle to GetAttr.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
The protocol is: request: read (with buffer 1024) response: data (if buffer is big enough), or (data size, ERANGE) Before, the raw API provided * GetXAttrSize: called if the kernel sends a 0 sized buffer (which never happens * GetXAttrData: called in other cases. The return value is []byte forcing allocation of potentially large buffers * ListXAttr: return value []byte, so also problematic for allocation. Now, the raw API mirrors the kernel API more closely, and use recycled buffers for more efficiency.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
This should be tagged with a version bump because it changes the RawFileSystem API. Changes to nodefs and paths will be transparent: a Cancel channel was added to the fuse.Context struct. In addition fuse.Context now implements the Go context package. This also increases the minimum Go version to 1.7.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
compile on darwin too
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
When using automatic NodeIds, we can still have a race.
-