<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libfuse/fuse_ops.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libfuse/fuse_ops.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libfuse/fuse_ops.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-07-16T13:10:53Z</updated>
<entry>
<title>Implement FBT_FSYNC, which is called on fsync(2) and fdatasync(2).</title>
<updated>2018-07-16T13:10:53Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-07-16T13:10:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0d64465817bc318c59b559b5ca4ecc8c74468463'/>
<id>urn:sha1:0d64465817bc318c59b559b5ca4ecc8c74468463</id>
<content type='text'>
Currently ignores the a_waitfor argument and always invokes the file
system's fsync implementation synchronously.

ok mpi@
</content>
</entry>
<entry>
<title>Minor cleanup in ifuse_ops_setattr.</title>
<updated>2018-06-08T23:43:40Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-06-08T23:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2670c02ee22148cf5a85ff1d2c38073c0fefeb54'/>
<id>urn:sha1:2670c02ee22148cf5a85ff1d2c38073c0fefeb54</id>
<content type='text'>
ok mpi@
</content>
</entry>
<entry>
<title>Implement support for libfuse use_ino option. This returns the file</title>
<updated>2018-05-22T12:52:14Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-05-22T12:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dae5ffec5618b0b660e9064e3b0991bb4ab1b1e8'/>
<id>urn:sha1:dae5ffec5618b0b660e9064e3b0991bb4ab1b1e8</id>
<content type='text'>
system's ino for VOP_GETATTR(9) and VOP_READDIR(9) rather than the
internally generated fuse ino.

ok mpi@
</content>
</entry>
<entry>
<title>Reformat debug output to one line per opcode to make it easier to</title>
<updated>2018-05-21T11:47:46Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-05-21T11:47:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1f45a5ac459c17828f22da95377cdfac59fa2334'/>
<id>urn:sha1:1f45a5ac459c17828f22da95377cdfac59fa2334</id>
<content type='text'>
interpret.

ok mpi@
</content>
</entry>
<entry>
<title>Implement FBT_FLUSH. This is sent whenever a file descriptor is closed with</title>
<updated>2018-05-20T02:51:26Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-05-20T02:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e1487996d306181a6e7f96708e70c7a896a0016b'/>
<id>urn:sha1:e1487996d306181a6e7f96708e70c7a896a0016b</id>
<content type='text'>
VOP_CLOSE(9). The associated FUSE file handle is however not closed at this
time and is instead closed on VOP_RELEASE(9) because that's the only time
it's guaranteed to be no longer used. Directory handles are now only closed
on VOP_RELEASE(9) for the same reason.

ok mpi@
</content>
</entry>
<entry>
<title>libfuse should not maintain state for FBT_READDIR. If a directory is</title>
<updated>2018-05-16T13:09:17Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-05-16T13:09:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=390f10b55dd6db4705171d045bab12113bbe11c6'/>
<id>urn:sha1:390f10b55dd6db4705171d045bab12113bbe11c6</id>
<content type='text'>
opened multiple times (either from the same process or different
processes) then FUSE will not reliably return the directory entries to
both file descriptors.

ok mpi@
</content>
</entry>
<entry>
<title>Use memset(3) instead of bzero(3) for consistency and as per POSIX</title>
<updated>2018-05-15T11:57:32Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2018-05-15T11:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb72b40bbff2449692c2929ddea410aaf2ca013e'/>
<id>urn:sha1:bb72b40bbff2449692c2929ddea410aaf2ca013e</id>
<content type='text'>
recommendation.
</content>
</entry>
<entry>
<title>vn_open(9) does not pass the open(2) flags to VOP_CREATE(9) so we can't</title>
<updated>2017-11-30T11:29:03Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2017-11-30T11:29:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=eedad28e9275b1a1371be362f2e010287ee21920'/>
<id>urn:sha1:eedad28e9275b1a1371be362f2e010287ee21920</id>
<content type='text'>
support FBT_CREATE. Fall back to FBT_MKNOD + FBT_OPEN so that a valid
sequence of FUSE messages is sent to the file system when creating files.

input from mpi@, otto@
</content>
</entry>
<entry>
<title>Fixes the following bugs when getcwd(3) is used on a fuse file system</title>
<updated>2017-11-17T15:45:17Z</updated>
<author>
<name>helg</name>
<email>helg@openbsd.org</email>
</author>
<published>2017-11-17T15:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=16956dada5d0f8a8430eeb4966b6cb173751330b'/>
<id>urn:sha1:16956dada5d0f8a8430eeb4966b6cb173751330b</id>
<content type='text'>
Endless loop if directory nested more than one level from root of file system
Current directory not found if the parent directory contains more children than
will fit in the buffer passed to VOP_READDIR(9)
Open and close directory in fusefs_readdir if dir is not already open.
Now behaves as if readdir_ino option was passed to fuse so that directories in
path have a valid ino.

ok mpi@
</content>
</entry>
<entry>
<title>Fix fuse node lookups. Currently fusefs nodes in the kernel remember the</title>
<updated>2016-09-07T17:53:35Z</updated>
<author>
<name>natano</name>
<email>natano@openbsd.org</email>
</author>
<published>2016-09-07T17:53:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5e69e0b69176a7f878c899ef5828a6273ab7f0bb'/>
<id>urn:sha1:5e69e0b69176a7f878c899ef5828a6273ab7f0bb</id>
<content type='text'>
parent inode number for ".." lookups. This only works until the kernel
starts to reuse vnodes and the parent's vnode is reclaimed and the ino
to path mapping is removed from the userland process by libfuse. Fix
this by using reference counting in libfuse, so that parent mapping are
retained as long as a child uses them. Also, don't free the root node.

This commit resolves following issue:

$ doas fuse-zip ~/Downloads/foo.zip /mnt
$ ls /mnt
openbsd-www
$ grep -IR foo /usr/src &gt; /dev/null	# force vfs to reclaim vnodes
$ ls /mnt
ls: /mnt: No such file or directory
$

ok tedu
</content>
</entry>
</feed>
