aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2016-10-09Renamed cuses example and added test programNikolaus Rath-6/+176
An earlier version of the fioclient.c example was intended to be used together with cusexmp.c. The former has since evolved into ioctl_client.c and no longer has the function necessary to test CUSE. Therefore, we've added a new cuse_client.c that is clearly associated with the cuse.c example file system.
2016-10-09Increase timeouts in notify_* testsNikolaus Rath-8/+14
When running under Valgrind, we otherwise get sporadic test failures.
2016-10-09Don't confuse lookup count for mountpoint and fileNikolaus Rath-7/+12
I think this is the reason for a sporadic test failure, where fuse_lowlevel_notify_store() fails.
2016-10-09Renamed timefsN examples to fuse_notify_*Nikolaus Rath-50/+52
This should make it more obvious at first glance what the different examples do.
2016-10-09Include testfsN examples in Doxygen documentation.Nikolaus Rath-139/+172
2016-10-09Renamed ioctl and poll examplesNikolaus Rath-42/+46
The new names should make it more obvious at first glance what each example demonstrates.
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-85/+46
Also, added more comments for the same purpose.
2016-10-09fuse_parse_cmdline(): do not print help/version textNikolaus Rath-62/+112
The current behavior makes it difficult to add help for additional options. With the change, this becomes a lot easier.
2016-10-09Added missing export of fuse_pkgversion.Nikolaus Rath-0/+1
2016-10-09Merge pull request #80 from libfuse/master-proposedNikolaus Rath-113/+9
2016-10-09Whitespace fix.Nikolaus Rath-2/+2
2016-10-09Fix valgrind warningNikolaus Rath-0/+1
If we don't assign a value to padding, we get a warning about reading uninitialized data when sending the iovec to the kernel.
2016-10-09Fix documentation of fuse_parse_cmdline().Nikolaus Rath-1/+1
For --help and --version, it returns -1.
2016-10-09Dropped example/null.cNikolaus Rath-110/+5
This does not seem to be working. Maybe because it tries to treat the mountpoint as a file rather than a directory?
2016-10-08Added timefs3 to test notify_inval_entry.Nikolaus Rath-2/+358
Fixes #32.
2016-10-08Add background and multithreading support to hello_ll and fuse_lo-plusNikolaus Rath-15/+13
2016-10-08Update list of requests that can be answered with fuse_reply_none().Nikolaus Rath-0/+2
2016-10-08testfs2: Also test fuse_notify_retrieve().Nikolaus Rath-2/+44
2016-10-08Added timefs[12] examples.Nikolaus Rath-3/+724
These examplesdemonstrate the use of the `fuse_lowlevel_notify_store` and `fuse_lowlevel_notify_inval_inode` functions.
2016-10-08Added safe_sleep()Nikolaus Rath-0/+14
2016-10-08Clarify that readdir() *may* report . and .. entries.Nikolaus Rath-0/+3
2016-10-08Removed ``-o big_writes`` optionNikolaus Rath-12/+14
This option is obsolete and should always be enabled. File systems that want to limit the size of write requests should use the ``-o max_write=<N>`` option instead.
2016-10-05Test more combinations of low-level options.Nikolaus Rath-6/+12
2016-10-05Remove pointless aliasing of fuse_session *se to *fNikolaus Rath-34/+9
This is an overlooked artifact of the fuse_ll-fuse_session merge.
2016-10-05Removed obsolete, unused *f member from struct fuse_session.Nikolaus Rath-1/+0
2016-10-04Merge struct fuse_ll into struct fuse_session.Nikolaus Rath-245/+218
This merge merges struct fuse_ll into struct fuse_session. Since there is always a one-to-one correspondence between the two, there is little reason to keep them separate. By merging them, we save pointers and lines of code.
2016-10-04Merge fuse_ll into fuse_session (part 8)Nikolaus Rath-6/+6
Replaced "req->se" with "f" where the latter is already defined.
2016-10-04Merge fuse_ll into fuse_session (part 7)Nikolaus Rath-34/+30
Remove pointless aliasing of "struct fuse_session *se" to "struct fuse_session *f".
2016-10-04Merge fuse_ll into fuse_session (part 6)Nikolaus Rath-3/+1
Fixup cuse_lowlevel_new().
2016-10-04Merge fuse_ll into fuse_session (part 5)Nikolaus Rath-13/+3
Fixup fuse_session_new().
2016-10-04Merge fuse_ll into fuse_session (part 4)Nikolaus Rath-9/+3
Merge fuse_ll_destroy() and fuse_session_destroy().
2016-10-04Merge fuse_ll into fuse_session (part 3)Nikolaus Rath-16/+15
Replace se->f with se.
2016-10-04Merge fuse_ll into fuse_session (part 2)Nikolaus Rath-117/+117
Replaced all references to req->f with req->se.
2016-10-04Merge fuse_ll into fuse_session (part 1)Nikolaus Rath-76/+72
Merged the structures, and replaced fuse_ll with fuse_session in all type definitions.
2016-10-04fuse_mount_help(): clarify that listed options are FUSE specificNikolaus Rath-2/+2
We also accept a number of mount options that are common to all file systems (nosuid, nodev, ro, etc).
2016-10-04Clarified purpose of helper.c, moved *version() to fuse.cNikolaus Rath-10/+14
2016-10-04Merge branch 'fix-root-umount'Nikolaus Rath-0/+0
Commit e4015aca9b7 already fixed this problem in a different way, so this is effectively a null-merge.
2016-10-04fuse_session_unmount(): fix unmounting as rootNikolaus Rath-3/+4
We have to store the channel before removing it from the session, otherwise we cannot use it to do the unmount. This problem was introduced in commit 5698ee09cf7. Thanks to Michael Theall for reporting & debugging this.
2016-10-03Merge master fuse_chan into fuse_session.Nikolaus Rath-220/+101
This is a code simplification patch. - It confines most of the implementation channel implementation into fuse_loop_mt (which is its only user). - It makes it more obvious in the code that channels are only ever used when using -o clone_fd and multi-threaded main loop. - It simplies the definition of both struct fuse_session and struct fuse_chan. - Theoretically it should result in (minuscule) performance improvements when not using -o clone_fd. - Overall, it removes a lot more lines of source code than it adds :-).
2016-10-03fuse_lowlevel_notify_poll(): use master channelNikolaus Rath-5/+4
In theory, a poll handle could hang around much longer than the worker thread that creates it. Furthermore, the thread that created the pollhandle is no more likely to call fuse_lowlevel_notify_poll() than any other thread. In theory, this would have kept the channel alive for much longer than necessary. In practice, there seems to have been a bug that prevented this - and instead allowed the channel to be destroyed while there was still a pollhandle referring to it. Instead of fixing this by calling fuse_chan_get() and fuse_chan_put() in do_poll() and fuse_pollhandle_destroy(), we simply transmit poll notifications over the master channel now.
2016-10-03Store struct fuse_session* in struct fuse_reqNikolaus Rath-5/+6
2016-10-03fuse_session_process_buf(): improve documentationNikolaus Rath-3/+4
2016-10-03Released 3.0.0pre0Nikolaus Rath-4/+16
2016-10-03Don't crash if valgrind or libtool are not installed.Nikolaus Rath-3/+7
2016-10-02Run tests under valgrind when available.Nikolaus Rath-20/+46
Fixes #50.
2016-10-02Import os.path.join as pjoinNikolaus Rath-26/+27
Makes the code much shorter :-).
2016-10-02Added fuse_session_fd()Nikolaus Rath-1/+26
Fixes #59.
2016-10-02Document that client pid/gid/uid may be zero.Nikolaus Rath-2/+9
Fixes #67.
2016-10-02Merged fuse_session.c into fuse_lowlevel.cNikolaus Rath-114/+95
This distinction no longer makes sens. fuse_lowlevel.c already contains several session related functions, and fuse_session.c contains various stuff that is more related to the channel interface.
2016-10-02Merged fuse_mt.c into fuse.cNikolaus Rath-26/+14
There is no point in having a separate file for a 10 line function.