Page MenuHomeFreeBSD
Feed Search

Aug 4 2025

asomers committed rGa13ddd6210f3: zfsd: don't try to fix an OFFLINE condition.
Aug 4 2025, 6:37 PM

Aug 3 2025

asomers added a comment to D51371: tests: Add basic function tests for NFS.
In D51371#1181088, @des wrote:

You don't need to create a thick jail. In fact, you don't need a separate jail file system at all. It's totally fine to create a jail anchored at / .

No, it is absolutely not fine. Both jails run daemons which create pidfiles and sockets in hardcoded locations.

Aug 3 2025, 2:11 AM

Aug 2 2025

asomers added a comment to D51371: tests: Add basic function tests for NFS.
In D51371#1173192, @des wrote:

I would be delighted if someone could suggest a better way to populate a thick(ish) jail than what I'm doing here, btw. The jails weigh in at around 200 MB each on amd64.

Aug 2 2025, 10:13 PM

Jul 30 2025

asomers committed rG7b35b4d19630: sockstat: add libxo support (authored by Damin Rido <rido@freebsd.org>).
Jul 30 2025, 8:28 PM

Jul 23 2025

asomers committed rGf0a7a1bda375: fstat: identify kqueue, mqueue, and procdesc file descriptors.
Jul 23 2025, 11:32 PM
asomers committed rG6f433f2b4f37: fusefs: fix a panic in vop_close with a CTL consumer.
Jul 23 2025, 11:30 PM
asomers committed rG34a893a0ab10: fusefs: Fix a panic when unmounting before init.
Jul 23 2025, 11:30 PM
asomers committed rG5a8d8ffd7c8d: fusefs: add more checks for buggy FUSE servers.
Jul 23 2025, 11:30 PM
asomers committed rG0a0d323157cb: fusefs: delete dead code.
Jul 23 2025, 10:59 PM
asomers committed rG0432511d3ff6: fusefs: correct a comment in the tests.
Jul 23 2025, 10:59 PM
asomers committed rGf1e63fcb0c4a: fusefs: revert a workaround for a googletest bug.
Jul 23 2025, 10:59 PM
asomers committed rG9a9e93f38642: Fix the zfsd_fault_001_pos test.
Jul 23 2025, 10:56 PM
asomers committed rG2a08ae16555e: mac_bsdextended: report that all tests require the kernel module.
Jul 23 2025, 4:27 PM
asomers committed rG863dc799f743: ctladm: Use require.kmods for cfiscsi.
Jul 23 2025, 4:25 PM

Jul 22 2025

asomers committed rGd3c9f62862e4: ctl: delete dead code in the tests.
Jul 22 2025, 10:57 PM
asomers committed rG2662fd6a487b: fusefs: report that all tests require the fusefs kernel module.
Jul 22 2025, 10:34 PM

Jul 20 2025

asomers added a comment to D51421: devd: Add vm_guest variable.

The commit message says "jail". But kern.vm_guest doesn't change in a jail. Did you mean to say "in a VM"?

Jul 20 2025, 12:14 AM

Jul 18 2025

asomers committed R11:677e701d5647: devel/fsx: 0.3.1.
Jul 18 2025, 5:20 PM

Jul 16 2025

asomers committed rGcc61a0793a0e: manpages: prefer linking to xo_options.7 over xo_parse_args.3.
Jul 16 2025, 6:03 PM
asomers closed D51354: manpages: prefer linking to xo_options.7 over xo_parse_args.3.
Jul 16 2025, 6:03 PM
asomers requested review of D51354: manpages: prefer linking to xo_options.7 over xo_parse_args.3.
Jul 16 2025, 5:47 PM
asomers committed R11:e8c85d1e36cb: filesystems/xfuse: 0.5.0.
Jul 16 2025, 2:27 PM

Jul 15 2025

asomers added a comment to D50698: patch libxo support for fstat.

You need to add "LIBADD= xo" to usr.bin/fstat/Makefile. Also, a lot of fields are missing in the html output, for example file_type. Is that intentional?

Jul 15 2025, 9:27 PM
asomers committed rGb2bf651a797b: sockstat: Reintroduce -w flag with altered behavior (authored by Damin Rido <daminrido139@gmail.com>).
Jul 15 2025, 9:10 PM
asomers committed rG874385b03f8d: uexterr_gettext: add tests.
Jul 15 2025, 8:45 PM
asomers closed D51184: uexterr_gettext: add tests.
Jul 15 2025, 8:45 PM
asomers added a comment to D51316: fusefs: add a regression test for a cluster_read bug.

Would you like me to check if the test really fails on an unpatched system?

Jul 15 2025, 2:19 PM

Jul 14 2025

asomers added a comment to D51254: vfs_cluster.c: Do not propagate VOP_BMAP errors to the caller.

The regression test is at D51316 .

Jul 14 2025, 11:35 PM
asomers requested review of D51316: fusefs: add a regression test for a cluster_read bug.
Jul 14 2025, 11:34 PM
asomers requested changes to D51254: vfs_cluster.c: Do not propagate VOP_BMAP errors to the caller.

I have tested this patch and confirm that it works. I've also written a minimal reproduction case, which I'll post as a separate review. And while I understand Mark's concern, I tend to agree with arrowd's approach. BMAP should be advisory, and readahead should be optional, so errors in neither should cause the main read to fail.
But I would like to see a better commit message. It should contain enough information to describe the problem without resorting to Bugzilla, since Bugzilla might not be around forever.

Jul 14 2025, 11:29 PM

Jul 6 2025

asomers added inline comments to D51184: uexterr_gettext: add tests.
Jul 6 2025, 11:03 PM
asomers requested review of D51184: uexterr_gettext: add tests.
Jul 6 2025, 8:16 PM
asomers abandoned D51174: uexterr_gettext: add tests.

I have no idea why Arcanist decided to include all of those extra revisions when I updated the diff. I did not rebase. Only the most recent three revisions are intended to be part of the review. I'll abandon and reopen.

Jul 6 2025, 8:16 PM
asomers removed reviewers for D51174: uexterr_gettext: add tests: andrew, shurd, manu, brooks, olce, cam.
Jul 6 2025, 8:15 PM
asomers updated the diff for D51174: uexterr_gettext: add tests.
  • Abandon the custom kernel module. Rely on existing syscalls instead.
  • move the test into the kern directory
Jul 6 2025, 8:09 PM

Jul 5 2025

asomers added inline comments to D51174: uexterr_gettext: add tests.
Jul 5 2025, 9:37 PM
asomers requested review of D51174: uexterr_gettext: add tests.
Jul 5 2025, 9:36 PM
asomers accepted D51141: Use extended errors for err(3) and warn(3).
Jul 5 2025, 3:12 PM
asomers added inline comments to D51141: Use extended errors for err(3) and warn(3).
Jul 5 2025, 2:13 AM

Jul 4 2025

asomers accepted D51153: kern: adopt the cr_gid macro for cr_groups[0] more widely.

The fusefs part LGTM. I didn't read the rest.

Jul 4 2025, 7:21 PM
asomers committed rGbc3338985af9: sockstat: microoptimize cap-getnameinfo.
Jul 4 2025, 7:19 PM
asomers added inline comments to D51141: Use extended errors for err(3) and warn(3).
Jul 4 2025, 7:10 PM

Jul 3 2025

asomers committed rG6b8f0b47776b: fusefs: Upgrade FUSE protocol to version 7.35. (authored by mscotty_protonmail.ch).
Jul 3 2025, 4:25 PM
asomers added inline comments to D51141: Use extended errors for err(3) and warn(3).
Jul 3 2025, 4:00 PM

Jun 28 2025

asomers added a comment to D51081: skip ctladm test if not installed.

This is ok. It should normally be unnecessary, though, because ctladm should always be installed. Are you using pkgbase or something? I guess it might be optional in a pkgbase world.

Yes, indeed, it should now always be installed. However, we have a custom world (WITHOUT_ISCSI) and kernel (no device ctl), and since ctladm is no longer gated behind WITHOUT_ISCSI (commit 08419bf19469), this is the cleanest way I’ve found to fix this specific use case.

Jun 28 2025, 7:37 PM
asomers accepted D51081: skip ctladm test if not installed.

This is ok. It should normally be unnecessary, though, because ctladm should always be installed. Are you using pkgbase or something? I guess it might be optional in a pkgbase world.

Jun 28 2025, 3:42 PM

Jun 27 2025

asomers added a comment to D50826: fusefs: change how poll() on /dev/fuse works on unmount.

LGTM, but you're still ORing POLLHUP into revents, not setting it. As I mentioned in comment, it seems that the FreeBSD way to report EOF is to return POLLHUP only.

Jun 27 2025, 6:52 PM
asomers committed rG0726c6574f88: sockstat: Add automatic column sizing and remove -w option (authored by Damin Rido <rido@FreeBSD.com>).
Jun 27 2025, 4:03 PM
asomers committed rG2c6e4aed07b2: Fix typos in the CI configuration (authored by kalinasp <kalinasp@gmail.com>).
Jun 27 2025, 3:21 PM

Jun 26 2025

asomers committed rGb5962a183756: Fix location of libtpool.so.2 after 5c1ba994a8b.
Jun 26 2025, 2:13 PM

Jun 16 2025

asomers added a comment to D50831: fusefs: First take on exterrorizing.
In D50831#1161443, @kib wrote:

We did not finished with stabilizing the kernel interface yet, and not much started looking at the proper userspace facilities. It might end up built-in into err()/warn() so uexterr_gettext() would be left as some internal function. I simply did not considered that we are there yet.

For the exterrctl(2), the man page would be eventually added, but with the warning similar to that for thr*(2) and sigfastblock(2) that the interface is for C runtime and should not be used by the app code.

Jun 16 2025, 6:51 PM
asomers added a comment to D50831: fusefs: First take on exterrorizing.

What man page? The information on how to read exterrors is located in kdumps manpage.

Jun 16 2025, 6:32 PM
asomers accepted D50831: fusefs: First take on exterrorizing.

This change is ok with me. But I would still like to see a man page and some usage examples from userland.

Jun 16 2025, 6:20 PM
asomers added inline comments to D50831: fusefs: First take on exterrorizing.
Jun 16 2025, 5:57 PM
asomers requested changes to D50831: fusefs: First take on exterrorizing.
Jun 16 2025, 4:49 PM

Jun 15 2025

asomers committed rG5c1ba994a8bc: Add a regression test for a libtpool bug.
Jun 15 2025, 4:03 PM
asomers closed D45587: Add a regression test for a libtpool bug.
Jun 15 2025, 4:02 PM
asomers committed rGece617cda6b5: ctl: add ATF tests for SCSI PERSISTENT RESERVE IN/OUT.
Jun 15 2025, 3:57 PM
asomers closed D46947: ctl: add ATF tests for SCSI PERSISTENT RESERVE IN/OUT.
Jun 15 2025, 3:56 PM
asomers committed rG9350e9236242: fusefs: fix a panic in vop_close with a CTL consumer.
Jun 15 2025, 3:36 PM
asomers closed D48165: fusefs: fix a panic in vop_close with a CTL consumer.
Jun 15 2025, 3:36 PM

Jun 13 2025

asomers committed rGf1ec3bc06ed2: fusefs: add more checks for buggy FUSE servers.
Jun 13 2025, 9:00 PM
asomers closed D48471: fusefs: add more tests for buggy FUSE servers.
Jun 13 2025, 9:00 PM
asomers committed rGb3168306a13b: fstat: identify kqueue, mqueue, and procdesc file descriptors.
Jun 13 2025, 8:34 PM
asomers closed D48706: fstat: identify kqueue and mqueue file descriptors.
Jun 13 2025, 8:34 PM
asomers added inline comments to D50831: fusefs: First take on exterrorizing.
Jun 13 2025, 6:12 PM
asomers requested changes to D50831: fusefs: First take on exterrorizing.

This is an interesting new feature. But how do we use it? There aren't any examples yet, or any man page. We could easily add test cases for the mount and kqueue errors to the fusefs test suite.

Jun 13 2025, 3:55 PM
asomers updated the diff for D50826: fusefs: change how poll() on /dev/fuse works on unmount.
  • fixup: output POLLHUP regardless of the contents of events
Jun 13 2025, 3:13 PM
asomers added inline comments to D50826: fusefs: change how poll() on /dev/fuse works on unmount.
Jun 13 2025, 2:49 PM

Jun 12 2025

asomers committed rGcc9c21308679: fusefs: Fix a panic when unmounting before init.
Jun 12 2025, 11:06 PM
asomers closed D50799: fusefs: Fix a panic when unmounting before init.
Jun 12 2025, 11:06 PM
asomers added a comment to D50799: fusefs: Fix a panic when unmounting before init.

LGTM, but my review doesn't worth much.

Jun 12 2025, 10:30 PM
asomers requested review of D50826: fusefs: change how poll() on /dev/fuse works on unmount.
Jun 12 2025, 10:28 PM
asomers updated the diff for D50799: fusefs: Fix a panic when unmounting before init.
  • Respond to gleb's comments
Jun 12 2025, 3:51 PM
asomers added inline comments to D50799: fusefs: Fix a panic when unmounting before init.
Jun 12 2025, 3:51 PM

Jun 11 2025

asomers requested review of D50800: fusefs: don't fake the mountpoint's stat info before FUSE_INIT completes.
Jun 11 2025, 9:41 PM
asomers requested review of D50799: fusefs: Fix a panic when unmounting before init.
Jun 11 2025, 8:33 PM

Jun 5 2025

asomers committed rG7ce93195ddb3: fusefs: delete dead code.
Jun 5 2025, 9:30 PM
asomers committed rG35c4ea02cb9f: fusefs: revert a workaround for a googletest bug.
Jun 5 2025, 9:30 PM

May 30 2025

asomers committed rG7f07575084a2: fusefs: correct a comment in the tests.
May 30 2025, 4:56 PM

May 19 2025

asomers committed R11:7d1f330dd79b: devel/fsx: 0.3.0.
May 19 2025, 10:38 PM

May 16 2025

asomers committed R11:936afc0f085e: shells/fish: 4.0.2.
May 16 2025, 8:32 PM

May 2 2025

asomers accepted D50118: aio: Fix opcode handling in aio_process_rw().
May 2 2025, 4:57 PM
asomers committed rG01a1dd321807: Fix the zfsd_fault_001_pos test.
May 2 2025, 2:52 PM

Apr 29 2025

asomers committed rGd5e3cf41e894: fusefs: Upgrade FUSE protocol to version 7.33. (authored by mscotty_protonmail.ch).
Apr 29 2025, 11:27 PM

Apr 17 2025

asomers committed rG2a88aad6286d: witness.4: correct name of the debug.witness.witness_count sysctl.
Apr 17 2025, 11:40 PM
asomers committed rGf8b102d9bb63: ctld: correctly parse LUN size on 32-bit arches.
Apr 17 2025, 11:40 PM
asomers committed rGf390c8149847: fusefs: slightly better debugging in the tests.
Apr 17 2025, 11:38 PM
asomers committed rG1c316af14149: fusefs: add a test for the max_read= mount option.
Apr 17 2025, 11:38 PM
asomers committed rGd03aa29b82b8: fusefs: minor refactor in the tests.
Apr 17 2025, 11:38 PM

Apr 12 2025

asomers accepted D49787: bsd.sys.mk: Re-enable warnings for C++11 extensions.
Apr 12 2025, 8:25 PM

Mar 27 2025

asomers accepted D49541: Remove mentions of ENOSYS added in d97e44784bb5.
Mar 27 2025, 7:56 PM

Mar 18 2025

asomers accepted D49139: ctld: Convert to C++.
A redeclaration of an entity without a linkage specification inherits the language linkage of the entity and its type (if exists).
Mar 18 2025, 6:23 PM
asomers accepted D49137: libiscsiutil: Fix header to work with C++.
Mar 18 2025, 12:28 AM

Mar 15 2025

asomers accepted D49140: depend-cleanup: Handle ctld moving from C to C++.
Mar 15 2025, 7:55 PM
asomers added a comment to D49139: ctld: Convert to C++.

A few functions, like conf_set_debug, will now be extern "C" in the header file, but not in their implementation. It might work, but I don't think it's right. Also, conf.c seems to have two purposes. It defines C functions used by parse.y, and it also defines C functions used by ctld.cc. Maybe we should leave conf.c as a C file, but move some its ctld functions into ctld.cc itself? OTOH, if you're going for "minimal set of changes necessary to build as C++, it would be easier just to move those prototypes out of the "extern C" section.

Mar 15 2025, 7:49 PM
asomers accepted D49138: ctl_ioctl.h: Do not abuse enums for bit fields of flags.
Mar 15 2025, 7:35 PM

Mar 5 2025

asomers committed rG202a2be0941e: witness.4: correct name of the debug.witness.witness_count sysctl.
Mar 5 2025, 6:53 PM

Mar 3 2025

asomers accepted D49223: src: Use gnu++17 as the default C++ standard.

This LGTM. C++20 would be nicer, because it would simplify one thing in the fusefs tests, but that would require a whole new tinderbox run.

Mar 3 2025, 9:54 PM

Feb 27 2025

asomers committed R11:ce4c8c49210b: sysutils/py-salt: fix commands like "service salt_minion status".
Feb 27 2025, 9:15 PM