<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/ufs/ffs, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/ufs/ffs?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/ufs/ffs?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>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>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>
<entry>
<title>Handle the mount(... MNT_RELOAD) case for ffs2 as well. ok kettenis@</title>
<updated>2020-02-21T11:11:15Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-02-21T11:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2f9577fc73eeebfdc4fa2956a77d6fd6a4372550'/>
<id>urn:sha1:2f9577fc73eeebfdc4fa2956a77d6fd6a4372550</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace TAILQ concatenation loop with TAILQ_CONCAT</title>
<updated>2020-02-04T04:09:11Z</updated>
<author>
<name>bket</name>
<email>bket@openbsd.org</email>
</author>
<published>2020-02-04T04:09:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=57e953791f55444fddfb9a410eb2938c2e549d1d'/>
<id>urn:sha1:57e953791f55444fddfb9a410eb2938c2e549d1d</id>
<content type='text'>
OK florian@, bluhm@, visa@
</content>
</entry>
<entry>
<title>Improve small random read ffs performance:</title>
<updated>2020-01-24T13:01:29Z</updated>
<author>
<name>kurt</name>
<email>kurt@openbsd.org</email>
</author>
<published>2020-01-24T13:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8078e9e980e81d39797c631373b889a379b68c73'/>
<id>urn:sha1:8078e9e980e81d39797c631373b889a379b68c73</id>
<content type='text'>
Only call bread_cluster if either the previously read ffs block is
adjacent to the current block or if the current read request exceeds the
current ffs block. This effectively turns off read-ahead for random reads
that fall within one ffs block.

okay beck@, mpi@, visa@
</content>
</entry>
<entry>
<title>struct vops is not modified during runtime so use const which moves each</title>
<updated>2020-01-20T23:21:55Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2020-01-20T23:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2d6b9e38f30a31b6aa3a85df5a94059bc694a80e'/>
<id>urn:sha1:2d6b9e38f30a31b6aa3a85df5a94059bc694a80e</id>
<content type='text'>
into read-only data segment.
OK deraadt@ tedu@
</content>
</entry>
</feed>
