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