Page MenuHomeFreeBSD
Feed Advanced Search

Aug 20 2022

asomers committed rGa9d0655fa413: fusefs: fix a cached attributes bug during directory rename (authored by asomers).
fusefs: fix a cached attributes bug during directory rename
Aug 20 2022, 12:32 AM

Aug 19 2022

asomers committed rG637e67246a69: tools/test/upsdl: fix compiler warnings (authored by asomers).
tools/test/upsdl: fix compiler warnings
Aug 19 2022, 10:33 PM
asomers committed rG673bca7e765e: [skip ci] unix(4): LOCAL_PEERCRED works on SOCK_SEQPACKET, too. (authored by asomers).
[skip ci] unix(4): LOCAL_PEERCRED works on SOCK_SEQPACKET, too.
Aug 19 2022, 10:31 PM

Aug 14 2022

asomers added a comment to D36194: copy_file_range: If _PC_MIN_HOLE_SIZE is small, use mnt_stat.f_iosize.

As far as fusefs goes, we don't know the true blocksize. The FUSE protocol gives us no way of knowing. So using f_iosize is probably the best that we can do, and that's what this patch will do.

Aug 14 2022, 5:31 PM

Jul 29 2022

asomers committed rGa043594c211f: ip6(4): document IP_ORIGDSTADDR (authored by asomers).
ip6(4): document IP_ORIGDSTADDR
Jul 29 2022, 3:09 PM
asomers closed D35890: ip6(4): document IP_ORIGDSTADDR.
Jul 29 2022, 3:09 PM

Jul 26 2022

asomers updated the diff for D35890: ip6(4): document IP_ORIGDSTADDR.
  • Reduce duplication as suggested by @karels
Jul 26 2022, 9:58 PM
asomers added inline comments to D35890: ip6(4): document IP_ORIGDSTADDR.
Jul 26 2022, 8:56 PM

Jul 24 2022

asomers committed rGb3c8ab9ff908: ses: don't panic if disk elements have really weird descriptors (authored by asomers).
ses: don't panic if disk elements have really weird descriptors
Jul 24 2022, 3:42 PM
asomers committed rG504ac101ba28: bsdinstall: allow an install script to access packages on the DVD (authored by asomers).
bsdinstall: allow an install script to access packages on the DVD
Jul 24 2022, 3:41 PM
asomers committed rG46856dbac668: Replace subversion with git in the installation DVD (authored by asomers).
Replace subversion with git in the installation DVD
Jul 24 2022, 3:41 PM
asomers committed rG7b9dcf526392: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS (authored by asomers).
bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS
Jul 24 2022, 3:41 PM
asomers committed rG9e4047d9d92c: bsdinstall: use gpt/efiboot0 label in /etc/fstab (authored by asomers).
bsdinstall: use gpt/efiboot0 label in /etc/fstab
Jul 24 2022, 3:41 PM
asomers committed rGf10dd8af4b4f: Reap dead code in lio_kqueue_test and aio_kqueue_test (authored by asomers).
Reap dead code in lio_kqueue_test and aio_kqueue_test
Jul 24 2022, 3:35 PM
asomers closed D35358: lio_kqueue_test: reap dead code.
Jul 24 2022, 3:34 PM
asomers committed rG57082ce8c43b: Add more aio tests (authored by asomers).
Add more aio tests
Jul 24 2022, 3:29 PM
asomers closed D35359: Add more aio tests.
Jul 24 2022, 3:29 PM
asomers committed rG982f980b86d6: prometheus_sysctl_exporter: ignore ENOENT for mibs specified on the CLI (authored by asomers).
prometheus_sysctl_exporter: ignore ENOENT for mibs specified on the CLI
Jul 24 2022, 3:21 PM
asomers closed D35540: prometheus_sysctl_exporter: ignore ENOENT for mibs specified on the CLI.
Jul 24 2022, 3:21 PM
asomers requested review of D35890: ip6(4): document IP_ORIGDSTADDR.
Jul 24 2022, 3:08 PM

Jun 23 2022

asomers committed rG5f438dd3acba: ses: don't panic if disk elements have really weird descriptors (authored by asomers).
ses: don't panic if disk elements have really weird descriptors
Jun 23 2022, 5:21 PM

Jun 21 2022

asomers requested review of D35540: prometheus_sysctl_exporter: ignore ENOENT for mibs specified on the CLI.
Jun 21 2022, 6:54 PM

Jun 18 2022

asomers committed rG1a2920e96aac: makefs: fix calculation of file sizes (authored by asomers).
makefs: fix calculation of file sizes
Jun 18 2022, 2:18 PM
asomers committed rG1f44d1861a01: fusefs: handle evil servers that return illegal inode numbers (authored by asomers).
fusefs: handle evil servers that return illegal inode numbers
Jun 18 2022, 2:17 PM
asomers committed rG14cd9da9db03: fusefs: make the mknod.cc tests a bit more general. (authored by asomers).
fusefs: make the mknod.cc tests a bit more general.
Jun 18 2022, 2:17 PM

Jun 15 2022

asomers accepted D35493: aio: Improve UMA usage.
Jun 15 2022, 2:09 PM

Jun 13 2022

asomers committed rG6a02539959cb: bsdinstall: allow an install script to access packages on the DVD (authored by asomers).
bsdinstall: allow an install script to access packages on the DVD
Jun 13 2022, 7:29 PM
asomers closed D35330: bsdinstall: allow a install script to access packages on the DVD.
Jun 13 2022, 7:28 PM

Jun 7 2022

asomers added a comment to D35420: tests/unix_passfd: compile SOCK_STREAM and SOCK_DGRAM versions.

Instead of doing anything fancy in the Makefile, how about you just create two separate test files named unix_passfd_dgram_test.c and unix_passfd_stream_test.c with contents like this:

#define TEST_PROTO SOCK_STREAM
#include <unix_passfd_test.c>
Jun 7 2022, 1:23 AM

Jun 3 2022

asomers added a comment to D33144: Reap AIO completions asynchronously when using kqueue..

Here's another backwards-compatibility nit. In kevent, AIO events are level-triggered by default. That is, if kevent reports that an event is ready, but the caller for some reason calls kevent again without calling aio_complete, then kevent will immediately return ready again. But with AIO_KEVENT_FLAG_REAP, it won't be able to, because the kernel will no longer be aware of that event. I don't know if we need to care about users who depend on that level-triggering, but if we do an easy fix would be to only enable the new behavior if EV_ONESHOT is also set. It probably doesn't matter if we're requiring the user to explicitly set AIO_KEVENT_FLAG_REAP anyway. But it could matter if we use the new behavior by default.

Jun 3 2022, 8:30 PM

May 31 2022

asomers requested review of D35359: Add more aio tests.
May 31 2022, 2:22 AM

May 30 2022

asomers updated the diff for D35358: lio_kqueue_test: reap dead code.
  • Also, reap similar dead code in aio_kqueue_test
May 30 2022, 6:41 PM
asomers requested review of D35358: lio_kqueue_test: reap dead code.
May 30 2022, 6:36 PM

May 28 2022

asomers committed rG77d678b7a407: Fix a memory leak from caf73e58579 (authored by asomers).
Fix a memory leak from caf73e58579
May 28 2022, 7:20 PM
asomers closed D35331: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS.
May 28 2022, 7:19 PM
asomers added a comment to D35331: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS.

Oh, sorry about that. I'll commit the fix. I didn't even realize that it was possible to leak memory in sh.

May 28 2022, 7:17 PM

May 27 2022

asomers added a comment to D35336: rc: Add a zpoolreguid rc.d script.

One other thing that might be useful is a script to enable some or all feature flags on a pool. The WIP makefs -t zfs implementation leaves all feature flags off.

May 27 2022, 5:06 PM
asomers accepted D35336: rc: Add a zpoolreguid rc.d script.

This is going to be very useful. Will you create a matching change that will run zpool online -e on firstboot, or just assume that the VM images will be built with autoexpand=true?

May 27 2022, 4:56 PM
asomers added inline comments to D35330: bsdinstall: allow a install script to access packages on the DVD.
May 27 2022, 3:13 PM
asomers committed rG55c8093f7332: Replace subversion with git in the installation DVD (authored by asomers).
Replace subversion with git in the installation DVD
May 27 2022, 3:11 PM
asomers closed D35329: Replace subversion with git in the installation DVD.
May 27 2022, 3:11 PM
asomers closed D35331: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS.
May 27 2022, 3:10 PM
asomers committed rGcaf73e585793: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS (authored by asomers).
bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS
May 27 2022, 3:10 PM
asomers added a comment to D35331: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS.

Do you need me to commit this or do you have a venue/access?

May 27 2022, 3:06 PM

May 26 2022

asomers updated the diff for D35331: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS.
  • Restore local variable declaration
May 26 2022, 10:37 PM
asomers requested review of D35331: bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS.
May 26 2022, 10:22 PM
asomers requested review of D35330: bsdinstall: allow a install script to access packages on the DVD.
May 26 2022, 9:42 PM
asomers requested review of D35329: Replace subversion with git in the installation DVD.
May 26 2022, 7:09 PM
asomers added a comment to D34079: [WIP] sysutils/fusefs-ntfs: Update to 2021.8.22.

This patch no longer applies, due to ports change f3c7a7686768351238894670b203c28526d247c1 .

May 26 2022, 1:50 AM

May 24 2022

asomers added a comment to D35309: bsdinstall: use gpt/efiboot0 label in /etc/fstab.
In D35309#800308, @imp wrote:

So long as we don't have two disks with that label, we'll be fine...
So this is better than what we had, but not quite to where we need to get to....
Though the functionality we need to get there isn't in bsdinstall...

May 24 2022, 7:24 PM
asomers committed rG7919c76dbdd2: bsdinstall: use gpt/efiboot0 label in /etc/fstab (authored by asomers).
bsdinstall: use gpt/efiboot0 label in /etc/fstab
May 24 2022, 7:18 PM
asomers closed D35309: bsdinstall: use gpt/efiboot0 label in /etc/fstab.
May 24 2022, 7:18 PM
asomers requested review of D35309: bsdinstall: use gpt/efiboot0 label in /etc/fstab.
May 24 2022, 6:25 PM

May 23 2022

asomers committed rG8f8e64da6be5: Fix overflow errors in sbttous and sbttoms (authored by asomers).
Fix overflow errors in sbttous and sbttoms
May 23 2022, 7:12 PM
asomers committed rGdee01da58a27: Correctly measure system load averages > 1024 (authored by asomers).
Correctly measure system load averages > 1024
May 23 2022, 7:12 PM
asomers committed rG8272680eecb5: fusefs: annotate more file descriptor leaks in the tests (authored by asomers).
fusefs: annotate more file descriptor leaks in the tests
May 23 2022, 7:12 PM
asomers committed rG02e2f4b7d72d: fusefs: fix an undefined variable access (authored by asomers).
fusefs: fix an undefined variable access
May 23 2022, 7:12 PM
asomers committed rG2737e6bca78c: fusefs: use the fsname mount option if set (authored by asomers).
fusefs: use the fsname mount option if set
May 23 2022, 7:12 PM
asomers committed rG2c999421c44b: fusefs: add a test for the subtype= option (authored by asomers).
fusefs: add a test for the subtype= option
May 23 2022, 7:12 PM

May 20 2022

asomers accepted D35271: ping: if -S srcaddr uses a numeric address, use that protocol.

Thanks for fixing this.

May 20 2022, 10:55 PM
asomers added inline comments to D35271: ping: if -S srcaddr uses a numeric address, use that protocol.
May 20 2022, 10:41 PM
asomers added a comment to D35271: ping: if -S srcaddr uses a numeric address, use that protocol.

I haven't used atf. I can guess at much of the layout, but don't know how to run it. Is there documentation somewhere?

May 20 2022, 4:47 PM
asomers added a comment to D35271: ping: if -S srcaddr uses a numeric address, use that protocol.

Good catch. Do you think you could add a testcase to sbin/ping/tests/ping_test.sh ?

May 20 2022, 2:35 PM

May 16 2022

asomers committed rGecdc04d006de: makefs: fix calculation of file sizes (authored by asomers).
makefs: fix calculation of file sizes
May 16 2022, 10:36 PM
asomers closed D35131: makefs(8): Fix calculation of metadata segmets sizes.
May 16 2022, 10:36 PM
asomers accepted D35132: makefs(8): Fix calculation of file sizes.
May 16 2022, 10:29 PM

May 14 2022

asomers requested changes to D35132: makefs(8): Fix calculation of file sizes.
May 14 2022, 7:33 PM

May 12 2022

asomers committed rGc7b4932df66d: fusefs: fix FUSE_CREATE with file handles and fuse protocol < 7.9 (authored by asomers).
fusefs: fix FUSE_CREATE with file handles and fuse protocol < 7.9
May 12 2022, 8:45 PM
asomers accepted D35185: fusefs tests: Remove an unused variable..
May 12 2022, 8:45 PM
asomers committed rGf7896015fcde: ctlstat: add prometheus output (authored by asomers).
ctlstat: add prometheus output
May 12 2022, 8:44 PM
asomers committed rGe4f508d5a211: prometheus_sysctl_exporter: fix metric aliasing (authored by asomers).
prometheus_sysctl_exporter: fix metric aliasing
May 12 2022, 8:41 PM
asomers committed rG04f7286f44c4: fusefs: correctly handle servers that report too much data written (authored by asomers).
fusefs: correctly handle servers that report too much data written
May 12 2022, 8:41 PM
asomers committed rGef0e12d5656a: fusefs: validate servers' error values (authored by asomers).
fusefs: validate servers' error values
May 12 2022, 8:38 PM
asomers committed rG0bef4927ea85: fusefs: handle evil servers that return illegal inode numbers (authored by asomers).
fusefs: handle evil servers that return illegal inode numbers
May 12 2022, 8:34 PM
asomers committed rG8b582b164021: fusefs: make the mknod.cc tests a bit more general. (authored by asomers).
fusefs: make the mknod.cc tests a bit more general.
May 12 2022, 8:34 PM
asomers closed D35128: fusefs: handle evil servers that return illegal inode numbers.
May 12 2022, 8:33 PM

May 9 2022

asomers committed rG10f44229dcd9: Fix overflow errors in sbttous and sbttoms (authored by asomers).
Fix overflow errors in sbttous and sbttoms
May 9 2022, 10:39 PM
asomers closed D34809: Fix overflow errors in sbttous and sbttoms.
May 9 2022, 10:39 PM
asomers updated the diff for D34809: Fix overflow errors in sbttous and sbttoms.
  • Add 4s tests and make some magic numbers less magical.
May 9 2022, 9:09 PM

May 7 2022

asomers committed rG1d2421ad8b6d: Correctly measure system load averages > 1024 (authored by asomers).
Correctly measure system load averages > 1024
May 7 2022, 12:05 AM
asomers closed D35134: Correctly measure system load averages > 1024.
May 7 2022, 12:05 AM

May 6 2022

asomers added a comment to D35134: Correctly measure system load averages > 1024.

I agree with you that two million is the new limit. As for other places that need changing, this is what I found:

  • linprocfs: no overflow
  • linux_sysinfo: overflows at a load average of 32? I don't know how to test it though. I'll ask trasz; he knows a lot about the linuxulator.
  • snake_saver: no overflow
  • schedcpu: overflows at 1 million, I think. Or maybe sooner but I'm having trouble figuring out the maximum value of ts_estcpu. But that should be plenty.
  • tty_info: overflows at 10,000. I guess I'll go ahead and fix this one.
  • sysctl_vm_loadavg: no overflow
May 6 2022, 11:13 PM
asomers abandoned D21434: ping6: separate command line tokens parsing from processing of the option arguments.

Closing this review, which was superseded by D21377 .

May 6 2022, 10:46 PM
asomers commandeered D21434: ping6: separate command line tokens parsing from processing of the option arguments.
May 6 2022, 10:45 PM
asomers added a comment to D34809: Fix overflow errors in sbttous and sbttoms.

Ping @imp . Do you think you could finish reviewing the tests sometime?

May 6 2022, 10:38 PM

May 5 2022

asomers requested review of D35134: Correctly measure system load averages > 1024.
May 5 2022, 9:39 PM
asomers committed rG4ac4b12699fd: fusefs: annotate more file descriptor leaks in the tests (authored by asomers).
fusefs: annotate more file descriptor leaks in the tests
May 5 2022, 3:08 PM
asomers committed rGdcfa054216ef: fusefs: fix an undefined variable access (authored by asomers).
fusefs: fix an undefined variable access
May 5 2022, 2:46 PM
asomers committed R11:e7aa222dd79c: shells/fish: Update to 3.4.1 (authored by asomers).
shells/fish: Update to 3.4.1
May 5 2022, 1:07 PM

May 4 2022

asomers requested review of D35128: fusefs: handle evil servers that return illegal inode numbers.
May 4 2022, 11:40 PM

Apr 29 2022

asomers committed rG507b75ced9fd: fusefs: fix two bugs regarding VOP_RECLAIM of the root inode (authored by asomers).
fusefs: fix two bugs regarding VOP_RECLAIM of the root inode
Apr 29 2022, 8:01 PM
asomers committed rG2f6362484c0e: fusefs: use the fsname mount option if set (authored by asomers).
fusefs: use the fsname mount option if set
Apr 29 2022, 5:13 PM
asomers closed D35090: fusefs: use fsname mount option if set.
Apr 29 2022, 5:13 PM
asomers accepted D35090: fusefs: use fsname mount option if set.

LGTM, and it works out of the box with at least one file system in ports.

Apr 29 2022, 4:53 PM
asomers committed rG616eaa66aa49: fusefs: add a test for the subtype= option (authored by asomers).
fusefs: add a test for the subtype= option
Apr 29 2022, 2:02 PM

Apr 28 2022

asomers committed rG45825a12f985: fusefs: fix FUSE_CREATE with file handles and fuse protocol < 7.9 (authored by asomers).
fusefs: fix FUSE_CREATE with file handles and fuse protocol < 7.9
Apr 28 2022, 9:20 PM
asomers added a comment to D35090: fusefs: use fsname mount option if set.

Does anything already set fsname? libfuse, perhaps?

Apr 28 2022, 12:33 PM

Apr 27 2022

asomers added a comment to D35088: Add fuse mount information to 'from'.

This looks awesome! It bothers me too when I have 100 different "/dev/fuse" file systems mounted, and I can't simply umount /dev/fuse. Speaking of which, does umount http://192.168.1.10 work with your patch? Could you please add a test for that in tests/sys/fs/fusefs/destroy.cc and another general test for the new feature in tests/sys/fs/fusefs/mount.cc? I can help with that, if you show me example usage with nmount. Also, I notice the "suse.com" in your username. Should we record this work as "Sponsored by: SuSE" when we commit it? Finally, are any other operating systems compatible with this usage?

Apr 27 2022, 10:41 PM

Apr 20 2022

asomers closed D29901: ctlstat: add prometheus output.
Apr 20 2022, 9:20 PM
asomers committed rG1a7f22d9c211: ctlstat: add prometheus output (authored by asomers).
ctlstat: add prometheus output
Apr 20 2022, 9:20 PM