aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2017-07-07Don't use emacs' python-mode for meson filesNikolaus Rath-15/+0
There is a proper meson-mode now.
2017-07-07Fixed typo in ChangelogNikolaus Rath-1/+1
2017-07-06Don't redefine FUSE_USE_VERSIONNikolaus Rath-4/+0
It's already set in meson.build as compiler flag.
2017-07-06Travis: use sudo-enabled environment.Nikolaus Rath-0/+1
2017-07-06Added information about professional support.Nikolaus Rath-0/+7
2017-07-06Fixed bug in code example in ChangeLog.Nikolaus Rath-2/+2
2017-06-21Install init script in $DESTDIR/etc, not $prefix/$sysconfdirNikolaus Rath-3/+7
Fixes: #178.
2017-06-20tst_readdir(): actually go through FUSENikolaus Rath-6/+9
The previous code didn't actually go through the mountpoint at all.
2017-06-08Clarify *_timeout semanticsNikolaus Rath-4/+10
When changes always come through kernel, timeouts should be large.
2017-06-06Describe supported platforms.Nikolaus Rath-0/+8
2017-06-05getgroups(): clarify codeNikolaus Rath-1/+1
read() return value should always be positive or -1. However, since we cast to unsigned a little later, it's clearer to check for non-negativity.
2017-06-05Fix comparison of integers of different signsAngelo G. Del Regno-4/+4
Some variables of different size and sign were getting compared without any safe casting. The build system also throws warnings at this and, being this library used for filesystems, it's really important to ensure stability.
2017-06-05examples/passthrough_ll: added support for create()Nikolaus Rath-5/+27
2017-06-05example/passthrough_ll: added write supportNikolaus Rath-2/+24
2017-05-31notify_store_retrieve(): fix race on unmountNikolaus Rath-4/+11
update_fs_loop() is still running when the filesystem unmounts, but it that case calls to fuse_lowlevel_notify_* will fail. Fixes: #105.
2017-05-31Clarify that destroy() is called without kernel connectionNikolaus Rath-2/+4
2017-05-31example/notify_store_retrieve: add debugging code for issue #105.Nikolaus Rath-2/+10
2017-05-31Revert "example/passthrough.c: add debugging code for issue #157."Nikolaus Rath-9/+2
This reverts commit 179fa13b40387645e722089873079488f9dbe3d8.
2017-05-31tst_link(): wait for RELEASE requestNikolaus Rath-9/+16
Since RELEASE requests are asynchronous, it is possible that libfuse still considers the file to be open when userspace has closed it, so that a successive unlink() call from userspace actually triggers a rename(). We avoid the resulting test failure by re-trying a few times. Fixes: #157.
2017-05-25Factored out C-based testsNikolaus Rath-48/+65
2017-05-25Fix typo in comment.Nikolaus Rath-1/+1
2017-05-25Document RENAME_EXCHANGE and RENAME_NOREPLACE flags.Nikolaus Rath-2/+21
2017-05-25passthrough_ll: document that fuse_ino_t and uintptr_t sizes must matchNikolaus Rath-0/+13
We can consider changing the code to drop the requirement if it turns out that there's a system where this isn't given. Fixes issue #167.
2017-05-25example/passthrough.c: add debugging code for issue #157.Nikolaus Rath-2/+9
2017-05-25tst_link(): add more assertionsNikolaus Rath-3/+17
Hopefully this helps debugging issue #157.
2017-05-25Remove fuse_fs_fgetattr and fuse_fs_ftruncate from linker scriptpablomh-2/+0
They were removed from source here: https://github.com/libfuse/libfuse/commit/73b6ff4b75cf1228ea61262c293fcb2fda5dfeea
2017-05-24Travis-CI: Don't abort on first failed testNikolaus Rath-4/+6
This should help debugging issue #157.
2017-05-24Added tst_open_read()Nikolaus Rath-0/+9
Slightly increases coverage of examples/passthrough_ll.c (which supports open for reading, but not for writing).
2017-05-24lib/meson.build: don't crash if there's no libdlNikolaus Rath-1/+1
For example, FreeBSD doesn't have it. Fixes: #173.
2017-05-24fuse_signals.c: use new do_nothing function instead of SIG_IGNNikolaus Rath-2/+18
Fixes: #160.
2017-05-24Released libfuse 3.0.2Nikolaus Rath-3/+17
2017-05-24Make tests build on bsdBrian Naylor-0/+10
2017-04-20make buffer size match kernel max transfer sizeCarlos Maiolino-3/+5
Currently libfuse has a hardcoded buffer limit to 128kib, while fuse kernel module has a limit up to 32 pages. This patch changes buffer limit to match the current page size, instead of assuming 4096 bytes pages, enabling architectures with bigger pages to use larger buffers, improving performance. Also, add a new macro (HEADER_SIZE) to specify the space needed to accommodate the header, making it easier to understand why those extra 4096 bytes are needed Signed-off-by: Carlos Maiolino <cmaiolino-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-04-14Set default options before parsingTej Chajed-5/+5
2017-04-12Improved documentation of fuse_context.private_dataNikolaus Rath-13/+20
In particular, don't call it "user_data" in one place and "private_data" elsewhere. Changing the name of the variable in the prototype should not affect backwards compatibility. Fixes: #155.
2017-04-10Released 3.0.1Nikolaus Rath-3/+8
2017-04-10Fix travis build script. Broken in e372d.Nikolaus Rath-3/+3
2017-04-10Added ChangeLog for commits c24cc to eb972.Nikolaus Rath-1/+4
2017-04-10Remove 'tests' target in favor of calling py.test directly.Nikolaus Rath-14/+6
Together with the previous commit, this fixes #156.
2017-04-10Build tests by default.Nikolaus Rath-9/+8
2017-04-10Only build test/*.py if out of date.Nikolaus Rath-1/+1
2017-04-07Actually test passthrough* examplesNikolaus Rath-1/+1
Since os.path.join() interprets leading slashes, we were actually never accessing the mountpoint and doing all the tests in the source directory. Fixes: #139
2017-04-07passthrough: implemented create()Nikolaus Rath-0/+14
This allows calls like open(file, O_CREAT|O_RDONLY, 0200) which would otherwise fail because we cannot open the file after mknod() has created it with 0200 permissions.
2017-04-07example/passthrough: use fi->fh for read, write, fallocateNikolaus Rath-7/+21
No reason not to use it. May even be a little faster and will consume less resources :-).
2017-04-07passthrough:truncate(): work on file descriptor when possibleNikolaus Rath-2/+4
This allows truncating an open file even if write permission was removed after open() (which is the expected behavior).
2017-04-07example/passthrough: close open files in release()Nikolaus Rath-5/+2
That way we can use the file descriptor for other operations.
2017-04-07passthrough, passthrough_fh: disable attribute cachingNikolaus Rath-0/+24
Required for better hardlink handling, see comments in patch.
2017-04-07test_examples(): test without debug messages firstNikolaus Rath-1/+1
That way, we are not drowning in messages when a test would also fail without debugging enabled.
2017-04-07test_examples(): avoid false positives from fuse debug outputNikolaus Rath-1/+7
2017-04-07passthrough_ll: only test functions that are actually providedNikolaus Rath-19/+23
This appeared to work because of an unrelated bug that caused us to actually never access the mountpoint at all and do all tests on the lower filesystem. This issue will be fixed in a separate commit.