aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2016-10-20ChangeLog: Remind people of to use FUSE_CAP_EXPORT_SUPPORTNikolaus Rath-0/+7
2016-10-20Accept zero value for fuse_conn_info optionsNikolaus Rath-5/+15
This may not make sense for all options, but it's good practice.
2016-10-20Removed all "Introduced in..." commentsNikolaus Rath-72/+7
Since FUSE 3 is breaking backwards compatibility, this really does not matter.
2016-10-20mount.fuse(8): remove max_readahead, max_write, [a]sync_readNikolaus Rath-12/+0
These are not mount options for FUSE file systems, but capabilites that are worked out between libfuse and the fuse kernel module. For that reason, they are also not accepted by fuse_session_new().
2016-10-20Do not close stdout on fuse_session_destroy()Consus-1/+3
If fuse_session_mount() fails (or was never called in the first place) we end up with the default fd value which happens to be 0. It hurts long-running processes, which lifetime extends beyond session's lifetime.
2016-10-18Cast to void where we deliberately ignore return valuesNikolaus Rath-2/+2
2016-10-18Ignore some errorsMihail Konev-2/+2
2016-10-17Update linker scriptNikolaus Rath-2/+2
- Fixes commit d49f2e77b4. - Fixes commit 199fc0f833. - Thanks to Github user mtheall for the review!
2016-10-17fuse_session_new(): accept --debugNikolaus Rath-1/+1
Fixes commit 3e022acf4076. Thanks to Github user mtheall for the review!
2016-10-17Spelling fixNikolaus Rath-1/+1
Thanks to (Github user) mtheall for the review!
2016-10-16Ignore GNU Global tag files.Nikolaus Rath-0/+4
2016-10-16Mention that low-level fs need to set FUSE_CAP_EXPORT_SUPPORTNikolaus Rath-5/+5
2016-10-16Default to FUSE_USE_VERSION 30Nikolaus Rath-4/+3
2016-10-16Various documentation updatesNikolaus Rath-363/+4
Move README.NFS into doc/ Update project URL Remove reference to non-existent INSTALL file Remove outdated/obsolete NEWS and how-fuse-works files. Update references to examples.
2016-10-16Inlined fuse_mount_help() into fuse_lowlevel_help().Nikolaus Rath-21/+6
Both the BSD and Linux implementation actually accept mostly the same FUSE-specific mount options. Up to now, the BSD help function appended the output of ``mount_fusefs --help``, but looking at http://www.unix.com/man-page/freebsd/8/mount_fusefs/ this is likely more confusing than helpful (since the user is not actually invoking mount_fusefs directly, most of the options don't make sense).
2016-10-16fuse_new(): instead of listing options, refer to mount.fuse(8)Nikolaus Rath-25/+6
2016-10-16fuse_session_new(): instead of listing options, refer to mount.fuse(8)Nikolaus Rath-10/+5
2016-10-16fuse_session_new: accept -o debug as synonym for -dNikolaus Rath-0/+1
2016-10-16Updated man-pages.Nikolaus Rath-37/+68
* Removed -o nonempty * Added -o noforget * Split into high-level / low-level * Added warning that most options should be chosen by file system internally. * Updated maintainer.
2016-10-15Make --help output more suitable for end-userNikolaus Rath-50/+70
We now only list options that are potentially useful for an end-user (and unlikely to accidentally break a file system). The full list of FUSE options has been moved to the documentation of the fuse_new() and fuse_session_new() functions.
2016-10-15Removed -o nopath - it never did anythingNikolaus Rath-2/+4
We are overriding this setting with the flag in struct fuse_operations: $ example/hello -f -d ~/tmp/mnt FUSE library version: 3.0.0pre0 nopath: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.25 flags=0x0007fffb max_readahead=0x00020000 INIT: 7.23 flags=0x00006031 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 time_gran=0 unique: 1, success, outsize: 80 $ example/hello -f -d ~/tmp/mnt -o nopath FUSE library version: 3.0.0pre0 nopath: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.25 flags=0x0007fffb max_readahead=0x00020000 INIT: 7.23 flags=0x00006031 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 time_gran=0 unique: 1, success, outsize: 80
2016-10-15Removed -o nonempty optionNikolaus Rath-58/+13
This brings the default behavior in-line with that of the regular `mount` command.
2016-10-15Fix documentation of -o max_write=Nikolaus Rath-1/+1
big_writes has been available for some time, and is the default in FUSE 3. So max_write now actually takes effect. (This really should have gone into commit 97f4a9cb4fc69)
2016-10-15Drop -o large_read mount optionNikolaus Rath-5/+3
This was only relevant for 2.4 kernels. Fixes #92.
2016-10-15Pass fuse_file_info to getattr, chown, chmod, truncate, utimens handlersNikolaus Rath-249/+164
This obsoletes the ftruncate & fgetattr handlers. Fixes #58.
2016-10-15Unify handling of fuse_conn_info optionsNikolaus Rath-162/+227
Instead of using command line options to modify struct fuse_conn_info before and after calling the init() handler, we now give the file system explicit control over this.
2016-10-15Merge branch 'fixup-lock-options'Nikolaus Rath-0/+3
2016-10-15Re-activated lost no_remote_*lock options.Nikolaus Rath-0/+3
2016-10-13tests: use freshly-build fusermount (instead of system version)Nikolaus Rath-5/+36
When running tests as non-root, make fusermount setuid root.
2016-10-13Travis: use "make test" instead of calling pytest directlyNikolaus Rath-1/+1
2016-10-13Only test writeback cache if kernel is recent enough.Nikolaus Rath-1/+5
2016-10-13Added lost ChangeLog entries for -o writeback_cache and -o async_dio.Nikolaus Rath-0/+7
2016-10-13do_init(): treat command line options consistentlyNikolaus Rath-50/+72
Previously, some command line options would change the FUSE defaults but leave the final value to the file systems `init` handler while others would override any changes made by `init`. Now, command line options do both: they modify the default, *and* take precedence.
2016-10-13Make -o clone_fd into a parameter of session_loop_mt().Nikolaus Rath-18/+28
This option really affects the behavior of the session loop, not the low-level interface. Therefore, it does not belong in the fuse_session object.
2016-10-13Move session options into sub-structNikolaus Rath-38/+40
The session options are used only once to determine the proper conn->want flags. It is nice to have them clearly separated from the other struct fuse_session members that are used throughout the life of the file system.
2016-10-13Mention atomic_o_trunc capability in description of open() handler.Nikolaus Rath-6/+12
2016-10-13Use NULL for option processing function where possible.Nikolaus Rath-10/+1
2016-10-13Activate splice_read by default if write_buf is implemented.Nikolaus Rath-0/+5
2016-10-10Document when fuse_reply_data will use splice()Nikolaus Rath-0/+27
2016-10-10Factored out LL_OPTIONS macroNikolaus Rath-34/+36
2016-10-10Removed 'async_read' field in fuse_conn_infoNikolaus Rath-13/+19
This is redundant with the capability flags in `wants` and `capable`.
2016-10-10Make several -o NN options work againNikolaus Rath-5/+5
In commit 2ed7af, we accidentally set the default values *after* parsing the command line arguments.
2016-10-10Fix race condition in notify_* examplesNikolaus Rath-46/+62
The fix in commit cf4159156b was incomplete. While some false positives are caused by sleep() in the file system taking longer than expected, there was also a race condition where the file system would run before the contents are initialized properly.
2016-10-10Added write cache tests.Nikolaus Rath-2/+225
2016-10-10Use "se" instead of "f" for fuse_session pointer where possible.Nikolaus Rath-52/+53
These changes were generated with the following Coccinelle semantic patch: @@ symbol f, se; // avoid unneeded warnings from Coccinelle @@ struct fuse_session * -f +se ; <... -f +se ...> @@ identifier fn; @@ fn(...,struct fuse_session * -f +se ,...) { <... -f +se ...> }
2016-10-10fuse_main(): extend support for printing helpNikolaus Rath-11/+87
There's now a way to inhibit the "usage" line (which actually got lost in commit 225c12aebf2d), which makes it easier for simply file-systems to generate good-looking --help output.
2016-10-09Use NULL as option processor where possible.Nikolaus Rath-27/+3
2016-10-09fuse_main_real(): use fuse_parse_cmdline().Nikolaus Rath-11/+1
2016-10-09Added ChangeLog entry for commit 225c12aebf2d2f27e1d0.Nikolaus Rath-0/+5
2016-10-09Added cuse unit test.Nikolaus Rath-2/+42