aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Increase timeouts in notify_* testsGravatar Nikolaus Rath2016-10-09
| | | | When running under Valgrind, we otherwise get sporadic test failures.
* Don't confuse lookup count for mountpoint and fileGravatar Nikolaus Rath2016-10-09
| | | | | I think this is the reason for a sporadic test failure, where fuse_lowlevel_notify_store() fails.
* Renamed timefsN examples to fuse_notify_*Gravatar Nikolaus Rath2016-10-09
| | | | | This should make it more obvious at first glance what the different examples do.
* Include testfsN examples in Doxygen documentation.Gravatar Nikolaus Rath2016-10-09
|
* Renamed ioctl and poll examplesGravatar Nikolaus Rath2016-10-09
| | | | | The new names should make it more obvious at first glance what each example demonstrates.
* Renamed some examples to make their function more obviousGravatar Nikolaus Rath2016-10-09
| | | | Also, added more comments for the same purpose.
* fuse_parse_cmdline(): do not print help/version textGravatar Nikolaus Rath2016-10-09
| | | | | The current behavior makes it difficult to add help for additional options. With the change, this becomes a lot easier.
* Added missing export of fuse_pkgversion.Gravatar Nikolaus Rath2016-10-09
|
* Merge pull request #80 from libfuse/master-proposedGravatar Nikolaus Rath2016-10-09
|\
| * Whitespace fix.Gravatar Nikolaus Rath2016-10-09
| |
| * Fix valgrind warningGravatar Nikolaus Rath2016-10-09
| | | | | | | | | | If we don't assign a value to padding, we get a warning about reading uninitialized data when sending the iovec to the kernel.
| * Fix documentation of fuse_parse_cmdline().Gravatar Nikolaus Rath2016-10-09
| | | | | | | | For --help and --version, it returns -1.
| * Dropped example/null.cGravatar Nikolaus Rath2016-10-09
|/ | | | | This does not seem to be working. Maybe because it tries to treat the mountpoint as a file rather than a directory?
* Added timefs3 to test notify_inval_entry.Gravatar Nikolaus Rath2016-10-08
| | | | Fixes #32.
* Add background and multithreading support to hello_ll and fuse_lo-plusGravatar Nikolaus Rath2016-10-08
|
* Update list of requests that can be answered with fuse_reply_none().Gravatar Nikolaus Rath2016-10-08
|
* testfs2: Also test fuse_notify_retrieve().Gravatar Nikolaus Rath2016-10-08
|
* Added timefs[12] examples.Gravatar Nikolaus Rath2016-10-08
| | | | | These examplesdemonstrate the use of the `fuse_lowlevel_notify_store` and `fuse_lowlevel_notify_inval_inode` functions.
* Added safe_sleep()Gravatar Nikolaus Rath2016-10-08
|
* Clarify that readdir() *may* report . and .. entries.Gravatar Nikolaus Rath2016-10-08
|
* Removed ``-o big_writes`` optionGravatar Nikolaus Rath2016-10-08
| | | | | | 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.
* Test more combinations of low-level options.Gravatar Nikolaus Rath2016-10-05
|
* Remove pointless aliasing of fuse_session *se to *fGravatar Nikolaus Rath2016-10-05
| | | | This is an overlooked artifact of the fuse_ll-fuse_session merge.
* Removed obsolete, unused *f member from struct fuse_session.Gravatar Nikolaus Rath2016-10-05
|
* Merge struct fuse_ll into struct fuse_session.Gravatar Nikolaus Rath2016-10-04
|\ | | | | | | | | | | | | 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.
| * Merge fuse_ll into fuse_session (part 8)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | Replaced "req->se" with "f" where the latter is already defined.
| * Merge fuse_ll into fuse_session (part 7)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | | | Remove pointless aliasing of "struct fuse_session *se" to "struct fuse_session *f".
| * Merge fuse_ll into fuse_session (part 6)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | Fixup cuse_lowlevel_new().
| * Merge fuse_ll into fuse_session (part 5)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | Fixup fuse_session_new().
| * Merge fuse_ll into fuse_session (part 4)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | Merge fuse_ll_destroy() and fuse_session_destroy().
| * Merge fuse_ll into fuse_session (part 3)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | Replace se->f with se.
| * Merge fuse_ll into fuse_session (part 2)Gravatar Nikolaus Rath2016-10-04
| | | | | | | | Replaced all references to req->f with req->se.
| * Merge fuse_ll into fuse_session (part 1)Gravatar Nikolaus Rath2016-10-04
|/ | | | | Merged the structures, and replaced fuse_ll with fuse_session in all type definitions.
* fuse_mount_help(): clarify that listed options are FUSE specificGravatar Nikolaus Rath2016-10-04
| | | | | We also accept a number of mount options that are common to all file systems (nosuid, nodev, ro, etc).
* Clarified purpose of helper.c, moved *version() to fuse.cGravatar Nikolaus Rath2016-10-04
|
* Merge branch 'fix-root-umount'Gravatar Nikolaus Rath2016-10-04
|\ | | | | | | | | Commit e4015aca9b7 already fixed this problem in a different way, so this is effectively a null-merge.
| * fuse_session_unmount(): fix unmounting as rootGravatar Nikolaus Rath2016-10-04
| | | | | | | | | | | | | | | | | | 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.
* | Merge master fuse_chan into fuse_session.Gravatar Nikolaus Rath2016-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 :-).
* | fuse_lowlevel_notify_poll(): use master channelGravatar Nikolaus Rath2016-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Store struct fuse_session* in struct fuse_reqGravatar Nikolaus Rath2016-10-03
| |
* | fuse_session_process_buf(): improve documentationGravatar Nikolaus Rath2016-10-03
| |
* | Released 3.0.0pre0Gravatar Nikolaus Rath2016-10-03
| |
* | Don't crash if valgrind or libtool are not installed.Gravatar Nikolaus Rath2016-10-03
| |
* | Run tests under valgrind when available.Gravatar Nikolaus Rath2016-10-02
| | | | | | | | Fixes #50.
* | Import os.path.join as pjoinGravatar Nikolaus Rath2016-10-02
| | | | | | | | Makes the code much shorter :-).
* | Added fuse_session_fd()Gravatar Nikolaus Rath2016-10-02
| | | | | | | | Fixes #59.
* | Document that client pid/gid/uid may be zero.Gravatar Nikolaus Rath2016-10-02
| | | | | | | | Fixes #67.
* | Merged fuse_session.c into fuse_lowlevel.cGravatar Nikolaus Rath2016-10-02
| | | | | | | | | | | | 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.
* | Merged fuse_mt.c into fuse.cGravatar Nikolaus Rath2016-10-02
| | | | | | | | There is no point in having a separate file for a 10 line function.
* | Extended per-file comments.Gravatar Nikolaus Rath2016-10-02
| | | | | | | | | | This should make more clear what file contains code for what purpose.