<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/ufs, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/ufs?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/ufs?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-20T07:49:04Z</updated>
<entry>
<title>With filesystem having many cylinder groups and many inodes per cg the</title>
<updated>2020-06-20T07:49:04Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-06-20T07:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=abbb35584eeb1f783012251d6de83bc7a1260d24'/>
<id>urn:sha1:abbb35584eeb1f783012251d6de83bc7a1260d24</id>
<content type='text'>
ncg * ipg calcualtion can overflow if signed types are used.  Move
to uint32_t for the relevant values. Aligned with FreeBSD changes.
Also make sure newfs refuses to create an fs with more that 2^32-1
inodes.  ok millert@
</content>
</entry>
<entry>
<title>Rename poll-compatibility flag to better reflect what it is.</title>
<updated>2020-06-11T09:18:43Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-06-11T09:18:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a'/>
<id>urn:sha1:1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a</id>
<content type='text'>
While here prefix kernel-only EV flags with two underbars.

Suggested by kettenis@, ok visa@
</content>
</entry>
<entry>
<title>Use a new EV_OLDAPI flag to match the behavior of poll(2) and select(2).</title>
<updated>2020-06-08T08:04:09Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-06-08T08:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6e29a9444098b33c28a7ce5b32b593b9539d7294'/>
<id>urn:sha1:6e29a9444098b33c28a7ce5b32b593b9539d7294</id>
<content type='text'>
Adapt FS kqfilters to always return true when the flag is set and bypass
the polling mechanism of the NFS thread.

While here implement a write filter for NFS.

ok visa@
</content>
</entry>
<entry>
<title>When the preferred cylinder group if full scan forward (wrapping if needed)</title>
<updated>2020-05-29T06:46:15Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-05-29T06:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=458c9f6e6301be0ff829aee4a9cbebac06df8f8a'/>
<id>urn:sha1:458c9f6e6301be0ff829aee4a9cbebac06df8f8a</id>
<content type='text'>
to find another, instead of first forward and then backward. The latter method
causes most full cgs to end up at the end of the partition. From FreeBSD.
ok millert@
</content>
</entry>
<entry>
<title>Make generation numbers unsigned and fill them using a random number</title>
<updated>2020-05-28T15:48:28Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-05-28T15:48:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d06c4e1f5435c136423f9e1463cd963b162d217f'/>
<id>urn:sha1:d06c4e1f5435c136423f9e1463cd963b162d217f</id>
<content type='text'>
from the range [1..UINT_MAX] initially.  On inode re-use increment
and on wrap refill from the range [1..UINT_MAX-1] to avoid
assigning UINT_MAX (the original value). Zero still means uninitialized.
ok millert@
</content>
</entry>
<entry>
<title>Explicitly documents that `vop_kqfilter' isn't missing.</title>
<updated>2020-05-21T09:35:09Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-05-21T09:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2061a77758dc497cf61c0ff46c166be2c9693226'/>
<id>urn:sha1:2061a77758dc497cf61c0ff46c166be2c9693226</id>
<content type='text'>
Just like most of the vop_* methods in MFS they aren't used.

ok millert@, visa@
</content>
</entry>
<entry>
<title>Abstract the head of knote lists. This allows extending the lists,</title>
<updated>2020-04-07T13:27:50Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-04-07T13:27:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9c969c9ab4dbfc69101f439c13329bb852e9fe18'/>
<id>urn:sha1:9c969c9ab4dbfc69101f439c13329bb852e9fe18</id>
<content type='text'>
for example, with locking assertions.

OK mpi@, anton@
</content>
</entry>
<entry>
<title>Avoid a tight CPU loop when no unlocked worklist items can be processed.</title>
<updated>2020-03-09T16:49:12Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2020-03-09T16:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e2086e682725f53d68e22e4ef655dc2a593916da'/>
<id>urn:sha1:e2086e682725f53d68e22e4ef655dc2a593916da</id>
<content type='text'>
If process_worklist_item() is unable to process locked vnodes,
num_on_worklist will still be non-zero, preventing the loop in
softdep_process_worklist() from exiting.  This can result in a
kernel hang.

To fix this, process_worklist_item() now returns non-zero if it was
able to process a worklist item (regardless of whether it matched
the mountpoint) and takes a pointer to matchcnt as a function
argument.  We now break out of the loop in softdep_process_worklist()
if process_worklist_item() is unable to make progress.

OK beck@ bluhm@
</content>
</entry>
<entry>
<title>Remove unused "struct proc *" argument from the following functions:</title>
<updated>2020-02-27T09:10:31Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-02-27T09:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=db7aa9821c9615b2b21dc263b8e1f99309ff4e4a'/>
<id>urn:sha1:db7aa9821c9615b2b21dc263b8e1f99309ff4e4a</id>
<content type='text'>
- ufs_chown() &amp; ufs_chmod()
- ufs_reclaim()
- ext2fs_chown() &amp; ext2fs_chmod()
- ntfs_ntget() &amp; ntfs_ntput()
- ntfs_vgetex(), ntfs_ntlookup() &amp; ntfs_ntlookupfile()

While here use `ap-&gt;a_p' directly when it is only required to re-enter
the VFS layer in order to help reducing the loop.

ok visa@
</content>
</entry>
<entry>
<title>Use proper function to get a timestamp, as time_second isn't safe;</title>
<updated>2020-02-21T11:13:55Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-02-21T11:13:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=faf38e4b7a80d680c602bcf8371b4b8b3dc5b64b'/>
<id>urn:sha1:faf38e4b7a80d680c602bcf8371b4b8b3dc5b64b</id>
<content type='text'>
ok cheloha@
</content>
</entry>
</feed>
