aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
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-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-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
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.