Page MenuHomeFreeBSD

asomers (Alan Somers)
User

Projects (3)

User Details

User Since
May 9 2014, 11:04 PM (619 w, 6 d)

Recent Activity

Yesterday

asomers committed rG1ebccc3b0f68: vfs_cluster.c: Do not propagate VOP_BMAP errors to the caller (authored by arrowd).
Thu, Mar 26, 3:08 PM
asomers committed rG6a1ebd14aa96: fusefs: redo vnode attribute locking.
Thu, Mar 26, 3:08 PM
asomers committed rG9ac21f8f168c: fusefs: add a regression test for a cluster_read bug.
Thu, Mar 26, 3:08 PM
asomers committed rGd0692508bc40: fusefs: remove the obsolete rename_lock.
Thu, Mar 26, 3:08 PM
asomers committed rG34ecd902d428: Add tests for pdwait.
Thu, Mar 26, 2:47 PM
asomers committed rG1ce3d3f610e2: aio(4) tests: do not rely on (int *)-1 being invalid address.
Thu, Mar 26, 2:47 PM
asomers committed rGc595e21c989f: procdesc: Add a test for pid recycling behavior.
Thu, Mar 26, 2:44 PM
asomers committed rGe3e71c6a8a92: tests: sys/capsicum/functional requires mqueuefs.
Thu, Mar 26, 2:41 PM

Thu, Mar 19

asomers committed R11:026e198d1784: filesystems/py-libzfs: patch collections.Sequence import error.
Thu, Mar 19, 4:47 PM

Wed, Mar 18

asomers committed R11:f274d1ecd24e: filesystems/py-libzfs: fix WWW.
Wed, Mar 18, 1:53 PM

Mon, Mar 16

asomers committed R11:9233032063d7: sysutils/rubygem-tmuxinator: fix conflict with shells/fish.
Mon, Mar 16, 12:58 PM

Thu, Mar 12

asomers committed rG7e68af7ce2c1: fusefs: redo vnode attribute locking.
Thu, Mar 12, 4:12 PM

Mon, Mar 9

asomers committed R11:3bf4a372f1c2: filesystems/xfuse: 0.6.0.
Mon, Mar 9, 7:30 PM

Feb 22 2026

asomers committed rG7755a406a6ae: fusefs: remove the obsolete rename_lock.
Feb 22 2026, 5:20 PM

Feb 20 2026

asomers committed R11:9e6b21629504: net-mgmt/nfs-exporter: 0.4.6.
Feb 20 2026, 11:11 PM

Feb 18 2026

asomers committed R11:e270e791a3d4: net-mgmt/geom-exporter: 0.1.3.
Feb 18 2026, 4:44 PM
asomers committed R11:0cb5bb322954: sysutils/gstat-rs: 0.1.8.
Feb 18 2026, 4:44 PM

Feb 17 2026

asomers committed rGfba81b33aabf: capsicum-tests: remove Linux support.
Feb 17 2026, 12:31 AM
asomers committed rGdc9a8d300ba5: aio(4) tests: do not rely on (int *)-1 being invalid address.
Feb 17 2026, 12:29 AM
asomers committed rG05492ff6f636: pdwait(2) tests: do not rely on (int *)-1 being invalid address.
Feb 17 2026, 12:29 AM

Jan 31 2026

asomers committed rGdf68a09ea2ec: tests: sys/capsicum/functional requires mqueuefs.
Jan 31 2026, 3:48 PM

Jan 26 2026

asomers committed rG6253212608b4: Add pdrfork to OpenBSM.
Jan 26 2026, 9:04 PM
asomers committed rG277539ae7f2f: Add tests for pdwait.
Jan 26 2026, 2:38 PM
asomers committed rGd1e6057fa47e: Add tests for pdrfork.
Jan 26 2026, 2:38 PM
asomers committed rGe35df41f6891: procdesc: Add a test for pid recycling behavior.
Jan 26 2026, 2:38 PM

Jan 24 2026

asomers committed rG52ddca7c2e33: fusefs: style.
Jan 24 2026, 4:04 PM
asomers committed rGffb747d587bf: fusefs: Add tests for the new -o auto_unmount feature.
Jan 24 2026, 4:04 PM

Jan 20 2026

asomers committed rG1ad466ca8385: netstat: fix a segfault with --libxo.
Jan 20 2026, 10:32 PM
asomers committed rG46a760e578f5: gpart: "gpart --libxo:JP list" duplicates attribute keys.
Jan 20 2026, 10:32 PM
asomers committed rGb6533f67c399: fusefs: Fix further intermittency in the BadServer.ShortWrite test case.
Jan 20 2026, 10:32 PM
asomers committed rGb3647e2a408e: netstat: fix a segfault with --libxo.
Jan 20 2026, 5:16 PM
asomers committed rG3b5c296fa151: fusefs: Fix further intermittency in the BadServer.ShortWrite test case.
Jan 20 2026, 5:15 PM
asomers committed rG3b44f04225bc: gpart: "gpart --libxo:JP list" duplicates attribute keys.
Jan 20 2026, 5:14 PM
asomers accepted D54592: Add pdrfork(2) and pdwait(2).
Jan 20 2026, 3:16 PM
asomers requested changes to D54592: Add pdrfork(2) and pdwait(2).
Jan 20 2026, 2:48 PM
asomers added inline comments to D54592: Add pdrfork(2) and pdwait(2).
Jan 20 2026, 2:03 PM
asomers requested changes to D54592: Add pdrfork(2) and pdwait(2).

Thanks for writing the man page too. I've made a few comments, mostly to make the English more grammatical and idiomatic.

Jan 20 2026, 1:21 PM
asomers accepted D54592: Add pdrfork(2) and pdwait(2).

This looks great, @kib! If you commit it, I'll follow up with the test suite. A few questions:

Jan 20 2026, 1:12 AM
asomers requested changes to D53086: fusefs: kernel-based implementation of auto_unmount.

Wow! This looks much simpler than the original userspace-based implementation. I like it. I wrote some tests, too. I can commit those separately if you like, after you commit the main code. The only thing that's missing is a mention of the new option in mount_fusefs.8 . Could you please add that?

Jan 20 2026, 12:20 AM

Jan 19 2026

asomers accepted D54518: Account for the ctl test needing the ctl(4) module.
Jan 19 2026, 7:02 PM
asomers added a comment to D54592: Add pdrfork(2) and pdwait(2).

I'm afraid that with this latest patch, I get an instapanic on boot in pid 1.

Jan 19 2026, 6:17 PM

Jan 14 2026

asomers abandoned D54717: committers-src: fix typo.

Sorry, you're right @jlduran , as js just informed me elsewhere. My source tree was out of date. Sorry for the noise.

Jan 14 2026, 5:54 PM
asomers requested review of D54717: committers-src: fix typo.
Jan 14 2026, 5:23 PM
asomers accepted D54715: committers-src: add myself (js@) with asomers as mentor.
Jan 14 2026, 5:17 PM
asomers accepted D54709: netstat: Remove padding from cc and stack fields.
Jan 14 2026, 5:00 PM
asomers added a comment to D54592: Add pdrfork(2) and pdwait(2).

I had to build an aarch64 VM just to test the RFSPAWN change, but it works now. It probably works on amd64 too, but I can't test it without writing assembly code.

Jan 14 2026, 12:49 AM

Jan 8 2026

asomers updated the diff for D54592: Add pdrfork(2) and pdwait(2).

Add test cases

Jan 8 2026, 11:05 PM
asomers added a comment to D54592: Add pdrfork(2) and pdwait(2).

The new syscalls mostly work nicely. I've just found a few bugs. In addition to my inline comments, pdwait never returns a pid. It always returns 0. Is that deliberate? Also, it's unclear to me when a child ought to be reaped. I would think that it should be reaped as soon as pdwait or waitpid returns it (though the pid shouldn't be recycled until the process descriptor is closed). However, I'm seeing that the child doesn't get reaped until close(). That is, pdwait() will return the process multiple times, as if WNOWAIT were set. Is that deliberate?

Jan 8 2026, 11:03 PM
asomers committed R11:7be1ca542e07: shells/fish: fix the build with DOCS=OFF after 4.3.3.
Jan 8 2026, 7:31 PM
asomers added a comment to D54592: Add pdrfork(2) and pdwait(2).

Rather than add a new syscall for pdwait, what would you say to adding another idtype for waitid and wait6? We already have those syscalls, and their existing interface nicely allows for different kinds of ids. We would just need to add a P_PIDFD idtype value. That's also what Linux does.

Jan 8 2026, 4:24 PM

Jan 7 2026

asomers committed R11:2eb572527994: shells/fish: 4.3.3.
Jan 7 2026, 8:36 PM
asomers committed rG3b6615ec0332: netstat: fix a segfault with --libxo.
Jan 7 2026, 2:35 PM
asomers closed D54567: netstat: fix a segfault with --libxo.
Jan 7 2026, 2:35 PM
asomers updated the diff for D54567: netstat: fix a segfault with --libxo.
  • Style, suggested by des@
  • Fix the encoded width of tcp-state, suggested by @des
Jan 7 2026, 1:41 PM

Jan 6 2026

asomers requested review of D54567: netstat: fix a segfault with --libxo.
Jan 6 2026, 10:23 PM

Jan 5 2026

asomers accepted D54536: sesutil: Remove width limiter on encoded "Desc" field.

LGTM. But you should wrap the long line in your commit message . And add something to the commit message indicating that the problem is with the "show" subcommand.

Jan 5 2026, 8:18 PM
asomers added a comment to D54536: sesutil: Remove width limiter on encoded "Desc" field.

I can't reproduce this behavior with "sesutil map --libxo=json,pretty". What is the right way to trigger the bug?

Jan 5 2026, 7:48 PM

Dec 31 2025

asomers added inline comments to D54426: makefs: tests: Improve ZFS perms test.
Dec 31 2025, 3:32 PM
asomers accepted D54425: makefs: tests: Double the timeout of ZFS file_extend test.

Again, 300s -> 400s is not much of an increase. Might want to go more.

Dec 31 2025, 3:31 PM
asomers accepted D54424: makefs: tests: Double the timeout of ZFS compression test.

This looks fine. But as the default timeout is already 300s, I suggest increasing it even more. If it were me, I would double it.

Dec 31 2025, 3:30 PM

Dec 22 2025

asomers added a comment to D54342: Note that __FreeBSD_version 1600005 also includes a ZFS change.

Is it kosher to have two gitrefs in one entry?

Dec 22 2025, 9:35 PM
asomers requested review of D54342: Note that __FreeBSD_version 1600005 also includes a ZFS change.
Dec 22 2025, 9:35 PM
asomers committed R11:28c3a79a6e9d: filesystems:py-libzfs: fix the build on FreeBSD 16.
Dec 22 2025, 9:28 PM
asomers committed rGf51e9d0e0988: fusefs: Fix further intermittency in the BadServer.ShortWrite test case.
Dec 22 2025, 5:19 PM
asomers closed D54331: fusefs: Fix further intermittency in the BadServer.ShortWrite test case.
Dec 22 2025, 5:18 PM

Dec 21 2025

asomers added a comment to D53357: fusefs: Fix intermittency in the BadServer.ShortWrite test case.
In D53357#1241293, @guest-svmhdvn wrote:

Sorry to bring this back, but I'm noticing intermittency again on latest 16-CURRENT HEAD. I can reproduce it locally on amd64, and I'm seeing it fail on aarch64 in jenkins with the same result: https://ci.freebsd.org/view/Test/job/FreeBSD-main-aarch64-test/1857/testReport/sys.fs.fusefs/bad_server/main/

I needed a large count (at least 500+ iterations on my local system) to reproduce it:

$ bricoler run freebsd-src-regression-suite --param freebsd-src:url=/usr/src --param freebsd-src:branch= --param freebsd-src-regression-suite:hypervisor=bhyve --param freebsd-src-regression-suite:memory=4096 --param freebsd-src-regression-suite:ncpus=2 --param freebsd-src-regression-suite:parallelism=1 --param freebsd-src-regression-suite:count=600 --param freebsd-src-regression-suite:tests='sys/fs/fusefs/bad_server:main'

Standard output:
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from BadServer
[ RUN      ] BadServer.UnknownUnique
[       OK ] BadServer.UnknownUnique (1 ms)
[ RUN      ] BadServer.ShortWrite
/home/siva/src/fbsdsrcgit/tests/sys/fs/fusefs/mockfs.cc:987: Failure
Value of: res >= static_cast<ssize_t>(sizeof(in.header)) || m_quit
  Actual: false
Expected: true

[  FAILED  ] BadServer.ShortWrite (0 ms)
[ RUN      ] BadServer.ErrorWithPayload
[       OK ] BadServer.ErrorWithPayload (0 ms)
[----------] 3 tests from BadServer (2 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (2 ms total)
[  PASSED  ] 2 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] BadServer.ShortWrite

 1 FAILED TEST
===> Failed tests
sys/fs/fusefs/bad_server:main  ->  failed: Returned non-success exit status 1  [0.006s]

@asomers could you try to reproduce?

Dec 21 2025, 3:35 PM
asomers requested review of D54331: fusefs: Fix further intermittency in the BadServer.ShortWrite test case.
Dec 21 2025, 3:34 PM

Dec 16 2025

asomers added a member for committers: js.
Dec 16 2025, 5:57 PM
asomers accepted D54256: new committer (src): Johan Söllvander (js).

LGTM, but you should also create a real Phabricator account now.

Dec 16 2025, 2:55 PM

Dec 15 2025

asomers committed R9:714d9ddb5d89: Update my PGP key with its new expiration date..
Dec 15 2025, 8:37 PM

Dec 12 2025

asomers committed R11:294e82e8243e: sysutils/gstat-rs: 0.1.7.
Dec 12 2025, 4:54 PM

Dec 10 2025

asomers committed rGa0347b0f3a60: gpart: "gpart --libxo:JP list" duplicates attribute keys.
Dec 10 2025, 6:12 PM
asomers closed D54080: gpart: "gpart --libxo:JP list" duplicates attribute keys .
Dec 10 2025, 6:11 PM

Dec 9 2025

asomers added a comment to D54149: release: fix "make release" with NOPKGBASE=1.

@jrtc27's suggestion works. Though there are other problems too, that I haven't solved yet.

Dec 9 2025, 11:24 PM
asomers updated the diff for D54149: release: fix "make release" with NOPKGBASE=1.
  • Respond to Jessica's feedback.
Dec 9 2025, 11:23 PM
asomers committed R11:105f4df19183: filesystems/py-libzfs: fix the build on FreeBSD 15.
Dec 9 2025, 1:43 PM
asomers committed R11:79b7a0fcef29: sysutils/jail_exporter: always close stdout, stdin, and stderr.
Dec 9 2025, 1:36 PM
asomers requested review of D54151: security/vuxml: Document version range of recent Python vuln entries.
Dec 9 2025, 1:26 PM
asomers added inline comments to D54149: release: fix "make release" with NOPKGBASE=1.
Dec 9 2025, 12:10 AM

Dec 8 2025

asomers requested review of D54149: release: fix "make release" with NOPKGBASE=1.
Dec 8 2025, 11:35 PM

Dec 6 2025

asomers accepted D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.
Dec 6 2025, 3:48 PM
asomers committed R11:f3f63d8635c9: filesystems/py-libzfs: fix the build on FreeBSD 15.
Dec 6 2025, 3:27 PM

Dec 5 2025

asomers accepted D54080: gpart: "gpart --libxo:JP list" duplicates attribute keys .

LGTM.

Dec 5 2025, 4:20 PM

Dec 4 2025

asomers accepted D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.
Dec 4 2025, 8:28 PM
asomers added a comment to D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.

Nice! It almost LGTM , but I agree with @ziaee that you should remove the man page link to libxo(3).

Dec 4 2025, 6:00 PM
asomers added a comment to D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.
In D53950#1235311, @guest-jsollvander wrote:

Nice job! I suggest a few changes, though.

  • I suggest using the same field names that gpart list does, where possible.
    • logical_starting_block => start
    • size_in_blocks => sectors
    • provider_name => name
    • attribute => attrib (or better yet, change "gpart list" to show "attribute" instead of "attrib")
  • When you do "gpart show -l --libxo=json", it will wrongly print something like "type": "swap0". That must be fixed. It should either show "label": "swap0", or just always have separate fields for "label" and "type".
  • There's an asymmetry in the way that "gpart show --libxo=json" displays gaps in the middle of the partition table vs at the end. It only prints "free" if they're in the middle, and they're only in the "unallocated" section if they're at the end. I like the first way better. I think you should get rid of the "unallocated" section.
  • Also, the json formatting for "attribute" isn't very machine-parseable. Right now it shows " [bootonce,bootme] ". I'm not sure what format would be best.
  • Don't forget to bump the .Dd dates in the man pages

Thanks Alan!

Could you explain why "type" is wrong here? According to the manpage for gpart show this field describes the "... the partition type, ...", so I thought "type" would be suitable field name for "element"? I'll still change it, I'm just curious.

Easy enough to fix.

Let me see what I can do about the attribute field.

Dec 4 2025, 1:34 PM

Dec 3 2025

asomers requested changes to D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.

Nice job! I suggest a few changes, though.

Dec 3 2025, 10:18 PM

Nov 22 2025

asomers committed rG1b5cc3c48cb8: nvme: add support for DIOCGIDENT.
Nov 22 2025, 5:59 PM
asomers committed rG35bff2138b17: tests/sys/netpfil/pf/sctp: make use of required.kmods.
Nov 22 2025, 5:55 PM
asomers committed rG465c30c4f202: nvme: add support for DIOCGIDENT.
Nov 22 2025, 3:01 PM
asomers committed rGdbf10fb83839: tests/sys/netpfil/pf/sctp: make use of required.kmods.
Nov 22 2025, 2:57 PM
asomers committed rGcd81f86919c1: find: fix pathnames printed by the SIGINFO handler.
Nov 22 2025, 2:55 PM
asomers committed rGf6688f9ed5db: fusefs: Fix intermittency in the BadServer.ShortWrite test case.
Nov 22 2025, 2:54 PM
asomers committed rG3b8ac7895d7b: fusefs: fix page fault triggered by async notification when unmounted.
Nov 22 2025, 2:54 PM
asomers committed rGe53590238a3d: fusefs: fix intermittency in the BadServer.ShortWrite test.
Nov 22 2025, 2:54 PM

Nov 18 2025

asomers closed D53810: Tidy the 15.0 release notes.
Nov 18 2025, 7:36 PM
asomers committed R9:d58c46d47ca5: Tidy the 15.0 release notes' ix section.
Nov 18 2025, 7:36 PM
asomers requested review of D53810: Tidy the 15.0 release notes.
Nov 18 2025, 6:15 PM
asomers added a comment to D53803: IICHID: Reset responses are only two bytes.

My 13th gen Framework 13 laptop works ok with or without this patch.

Nov 18 2025, 2:16 PM

Nov 14 2025

asomers committed R11:5ada834187a8: shells/fish: 4.2.1.
Nov 14 2025, 2:06 PM