Page MenuHomeFreeBSD

asomers (Alan Somers)
User

Projects

User Details

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

Recent Activity

Tue, Dec 16

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

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

Tue, Dec 16, 2:55 PM

Mon, Dec 15

asomers committed R9:714d9ddb5d89: Update my PGP key with its new expiration date. (authored by asomers).
Update my PGP key with its new expiration date.
Mon, Dec 15, 8:37 PM

Fri, Dec 12

asomers committed R11:294e82e8243e: sysutils/gstat-rs: 0.1.7 (authored by asomers).
sysutils/gstat-rs: 0.1.7
Fri, Dec 12, 4:54 PM

Wed, Dec 10

asomers committed rGa0347b0f3a60: gpart: "gpart --libxo:JP list" duplicates attribute keys (authored by asomers).
gpart: "gpart --libxo:JP list" duplicates attribute keys
Wed, Dec 10, 6:12 PM
asomers closed D54080: gpart: "gpart --libxo:JP list" duplicates attribute keys .
Wed, Dec 10, 6:11 PM

Tue, Dec 9

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.

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

Mon, Dec 8

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

Sat, Dec 6

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

Fri, Dec 5

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

LGTM.

Fri, Dec 5, 4:20 PM

Thu, Dec 4

asomers accepted D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.
Thu, Dec 4, 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).

Thu, Dec 4, 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.

Thu, Dec 4, 1:34 PM

Wed, Dec 3

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.

Wed, Dec 3, 10:18 PM

Sat, Nov 22

asomers committed rG1b5cc3c48cb8: nvme: add support for DIOCGIDENT (authored by asomers).
nvme: add support for DIOCGIDENT
Sat, Nov 22, 5:59 PM
asomers committed rG35bff2138b17: tests/sys/netpfil/pf/sctp: make use of required.kmods (authored by asomers).
tests/sys/netpfil/pf/sctp: make use of required.kmods
Sat, Nov 22, 5:55 PM
asomers committed rG465c30c4f202: nvme: add support for DIOCGIDENT (authored by asomers).
nvme: add support for DIOCGIDENT
Sat, Nov 22, 3:01 PM
asomers committed rGdbf10fb83839: tests/sys/netpfil/pf/sctp: make use of required.kmods (authored by asomers).
tests/sys/netpfil/pf/sctp: make use of required.kmods
Sat, Nov 22, 2:57 PM
asomers committed rGcd81f86919c1: find: fix pathnames printed by the SIGINFO handler (authored by asomers).
find: fix pathnames printed by the SIGINFO handler
Sat, Nov 22, 2:55 PM
asomers committed rGf6688f9ed5db: fusefs: Fix intermittency in the BadServer.ShortWrite test case (authored by asomers).
fusefs: Fix intermittency in the BadServer.ShortWrite test case
Sat, Nov 22, 2:54 PM
asomers committed rG3b8ac7895d7b: fusefs: fix page fault triggered by async notification when unmounted (authored by asomers).
fusefs: fix page fault triggered by async notification when unmounted
Sat, Nov 22, 2:54 PM
asomers committed rGe53590238a3d: fusefs: fix intermittency in the BadServer.ShortWrite test (authored by asomers).
fusefs: fix intermittency in the BadServer.ShortWrite test
Sat, Nov 22, 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 (authored by asomers).
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 (authored by asomers).
shells/fish: 4.2.1
Nov 14 2025, 2:06 PM

Nov 6 2025

asomers committed rGa23bd71deaad: fusefs: respect the server's FUSE_SETXATTR_EXT flag (authored by asomers).
fusefs: respect the server's FUSE_SETXATTR_EXT flag
Nov 6 2025, 12:39 AM
asomers committed rGf0cf086c05d8: fusefs: Fix intermittency in the BadServer.ShortWrite test case (authored by asomers).
fusefs: Fix intermittency in the BadServer.ShortWrite test case
Nov 6 2025, 12:39 AM
asomers committed rGa1c3537148a5: fusefs: fix intermittency in the BadServer.ShortWrite test (authored by asomers).
fusefs: fix intermittency in the BadServer.ShortWrite test
Nov 6 2025, 12:39 AM

Nov 5 2025

asomers abandoned D42150: bsdinstall: when installing UEFI, place the bootloader on all disks.

Closing in favor of https://reviews.freebsd.org/D52780

Nov 5 2025, 2:18 PM

Nov 3 2025

asomers committed rGe8449c0e0fcb: fusefs: respect the server's FUSE_SETXATTR_EXT flag (authored by asomers).
fusefs: respect the server's FUSE_SETXATTR_EXT flag
Nov 3 2025, 5:34 PM

Nov 2 2025

asomers accepted D53535: fusefs: standardize on OPNOTSUPP for posix_fallocate(2).
Nov 2 2025, 5:19 PM
asomers requested changes to D53535: fusefs: standardize on OPNOTSUPP for posix_fallocate(2).
Nov 2 2025, 4:34 PM
asomers requested changes to D53535: fusefs: standardize on OPNOTSUPP for posix_fallocate(2).

You must also update the test cases in tests/sys/fs/fusefs/fallocate.cc . In particular, I think that the PosixFallocate.eopnotsupp will fail now, unless you update it.

Nov 2 2025, 3:32 PM
asomers accepted D53537: posix_fallocate(2): move unsupported case to EOPNOTSUPP.
Nov 2 2025, 3:30 PM
asomers committed rG25e368c4dad3: fusefs: fix page fault triggered by async notification when unmounted (authored by asomers).
fusefs: fix page fault triggered by async notification when unmounted
Nov 2 2025, 3:12 PM
asomers accepted D53458: sockstat(1): Add "-F" parameter.

LGTM. Thanks for the contribution, Juraj.

Nov 2 2025, 2:42 PM

Oct 31 2025

asomers requested changes to D53458: sockstat(1): Add "-F" parameter.

Thanks for doing this. I think it will be a good addition. But I'm curious: why did you choose -F? Obviously -u and -U were already taken.

Oct 31 2025, 1:59 PM

Oct 28 2025

asomers committed R11:d49698d94c0c: net-mgmt:geom-exporter: 0.1.2 (authored by asomers).
net-mgmt:geom-exporter: 0.1.2
Oct 28 2025, 2:09 PM
asomers committed R11:622a8bc6e126: net-mgmt/nfs-exporter: 0.4.5 (authored by asomers).
net-mgmt/nfs-exporter: 0.4.5
Oct 28 2025, 2:01 PM

Oct 27 2025

asomers closed D53357: fusefs: Fix intermittency in the BadServer.ShortWrite test case.
Oct 27 2025, 7:12 PM
asomers committed rGd86025c1d49c: fusefs: Fix intermittency in the BadServer.ShortWrite test case (authored by asomers).
fusefs: Fix intermittency in the BadServer.ShortWrite test case
Oct 27 2025, 7:12 PM

Oct 26 2025

asomers committed rGbe122b46be2d: find: fix pathnames printed by the SIGINFO handler (authored by asomers).
find: fix pathnames printed by the SIGINFO handler
Oct 26 2025, 10:45 PM
asomers committed rG5d42c8813976: fusefs: fix page fault triggered by async notification when unmounted (authored by asomers).
fusefs: fix page fault triggered by async notification when unmounted
Oct 26 2025, 4:45 PM
asomers closed D53356: fusefs: fix page fault triggered by async notification when unmounted.
Oct 26 2025, 4:45 PM
asomers requested review of D53357: fusefs: Fix intermittency in the BadServer.ShortWrite test case.
Oct 26 2025, 12:48 AM
asomers requested review of D53356: fusefs: fix page fault triggered by async notification when unmounted.
Oct 26 2025, 12:47 AM

Oct 23 2025

asomers added a comment to D53080: fusefs: fix intermittency in the BadServer.ShortWrite test.

@asomers As of f4f638eb23d770e19ede167908d8145b8851f835, this test is still failing intermittently in CI as seen here on aarch64: https://ci.freebsd.org/view/Test/job/FreeBSD-main-aarch64-test/1801/testReport/junit/sys.fs.fusefs/bad_server/main.

This seems to also be reproducible locally on amd64 with more than 20+ minutes of testing (very intermittent, but becomes clear when running on slower platforms). I'm not sure this fix is comprehensive, although it did certainly help reduce the intermittency.

Oct 23 2025, 3:37 PM
asomers committed rG6d408ac49073: fusefs: add a regression test for a cluster_read bug (authored by asomers).
fusefs: add a regression test for a cluster_read bug
Oct 23 2025, 1:41 PM
asomers closed D51316: fusefs: add a regression test for a cluster_read bug.
Oct 23 2025, 1:41 PM
asomers added a comment to D51316: fusefs: add a regression test for a cluster_read bug.

Thanks for getting this fixed, @arrowd .

Oct 23 2025, 1:40 PM
asomers added a comment to D51316: fusefs: add a regression test for a cluster_read bug.

@arrowd now that you've committed the main bmap patch, are you ok with this test?

Oct 23 2025, 12:50 PM

Oct 22 2025

asomers committed rG6d0001d44490: nvme: add support for DIOCGIDENT (authored by asomers).
nvme: add support for DIOCGIDENT
Oct 22 2025, 3:41 PM

Oct 21 2025

asomers closed D53215: tests/sys/netpfil/pf/sctp: make use of required.kmods.
Oct 21 2025, 7:47 PM
asomers committed rG7648d2ebda22: tests/sys/netpfil/pf/sctp: make use of required.kmods (authored by asomers).
tests/sys/netpfil/pf/sctp: make use of required.kmods
Oct 21 2025, 7:47 PM

Oct 20 2025

asomers requested review of D53215: tests/sys/netpfil/pf/sctp: make use of required.kmods.
Oct 20 2025, 1:53 PM
asomers accepted D53212: sockstat: fix column length for PROTO.

That explains it. I was never testing with SCTP, and I doubt that Damin was, either.

Oct 20 2025, 1:31 PM
asomers added a comment to D53212: sockstat: fix column length for PROTO.

Can you give an example of the incorrect output? Does it matter whether "-q" is in use?

Oct 20 2025, 12:08 PM

Oct 19 2025

asomers committed rGf6d767fe8629: find: fix pathnames printed by the SIGINFO handler (authored by asomers).
find: fix pathnames printed by the SIGINFO handler
Oct 19 2025, 11:28 PM

Oct 17 2025

asomers accepted D53178: glabel: add a basic test.

LGTM

Oct 17 2025, 8:48 PM
asomers requested changes to D53178: glabel: add a basic test.

Looks like a good start.

Oct 17 2025, 8:17 PM

Oct 16 2025

asomers accepted D53137: VOP_OPENCLOSE.9: note that td may be NULL for VOP_CLOSE.

You need to wrap that long line to 80 cols, but otherwise it LGTM.

Oct 16 2025, 3:40 PM

Oct 14 2025

asomers accepted D53081: unix/stream: repair SO_SNDTIMEO.
Oct 14 2025, 5:06 PM
asomers committed rGd1bd541b385d: fusefs: fix intermittency in the BadServer.ShortWrite test (authored by asomers).
fusefs: fix intermittency in the BadServer.ShortWrite test
Oct 14 2025, 2:47 PM
asomers closed D53080: fusefs: fix intermittency in the BadServer.ShortWrite test.
Oct 14 2025, 2:47 PM
asomers requested changes to D53081: unix/stream: repair SO_SNDTIMEO.

I have two comments in addition to the inline ones:

Oct 14 2025, 1:58 PM
asomers updated subscribers of D53079: unionfs: fix NULL deref on closing an fd passed through SCM_RIGHTS.

I trust Alan's expertise here. IMHO, given that this patch is analog to fusefs one, should be fine. But not expert in the area.

Oct 14 2025, 11:56 AM
asomers accepted D53082: fuse_flush: Reuse the struct mount *mp variable.
Oct 14 2025, 11:54 AM
asomers requested review of D53080: fusefs: fix intermittency in the BadServer.ShortWrite test.
Oct 14 2025, 2:22 AM

Oct 13 2025

asomers accepted D53005: sockstat: improve handling of path state.
Oct 13 2025, 11:43 PM
asomers accepted D53079: unionfs: fix NULL deref on closing an fd passed through SCM_RIGHTS.
Oct 13 2025, 8:51 PM
asomers added a comment to D53005: sockstat: improve handling of path state.

I too am confused by the commit message. Won't the column always be shown in json and xml output, if "-s" is used?

Oct 13 2025, 12:44 AM

Oct 8 2025

asomers added a comment to D52984: sockstat: improve output formatting.

Could you please give an example of the before and after output?

Oct 8 2025, 8:42 PM
asomers added a comment to D52986: sockstat: show path state column only when useful.

Could you give an example of what the output looks like before and after?

Oct 8 2025, 8:40 PM

Oct 7 2025

asomers accepted D52914: tests/sys/aio: Fix vectored_big_iovcnt flaky test failure.
Oct 7 2025, 8:14 PM
asomers added a comment to D52914: tests/sys/aio: Fix vectored_big_iovcnt flaky test failure.

The MD_LEN variable is now badly named. I think it's ok to leave its value the same. Most test cases don't require 1 MB of I/O. But you should at least change that name.

So, let’s use DEVICE_IO_LEN then (to clarifies that this constant represents the I/O buffer length used for device tests (16 KB), not the size of the MD device itself which is now 1 MB) ?

Oct 7 2025, 4:32 PM
asomers requested changes to D52914: tests/sys/aio: Fix vectored_big_iovcnt flaky test failure.

The MD_LEN variable is now badly named. I think it's ok to leave its value the same. Most test cases don't require 1 MB of I/O. But you should at least change that name.

Oct 7 2025, 3:51 PM

Oct 6 2025

asomers committed R11:e5c192c3ba45: sysutils/jail_exporter: 0.18.0 (authored by asomers).
sysutils/jail_exporter: 0.18.0
Oct 6 2025, 5:29 PM

Oct 5 2025

asomers requested changes to D52914: tests/sys/aio: Fix vectored_big_iovcnt flaky test failure.
Oct 5 2025, 5:39 PM

Oct 3 2025

asomers added a comment to D51549: fusefs: Support for the auto_unmount FUSE option.

After seeing this code in practice it seems quite complicated. I do think that the kernel based approach would be simpler. But an important question is: what file systems already use this option on Linux? How many of them would work with either this implementation, or the hypothetical kernel-based one?

Oct 3 2025, 3:00 PM

Oct 2 2025

asomers accepted D45893: bitstring_test: fix bit_nclear/bit_nset tests for last iteration.
Oct 2 2025, 1:47 PM

Oct 1 2025

asomers added a comment to D45893: bitstring_test: fix bit_nclear/bit_nset tests for last iteration.

So is -1 being cast to true? Thank you GCC for telling us that. If so, I think we should replace ATF_REQUIRE_MSG with ATF_REQUIRE_EQ_MSG. I think that would be more clear.

Oct 1 2025, 11:08 PM
asomers added a comment to D45893: bitstring_test: fix bit_nclear/bit_nset tests for last iteration.

What's the problem? Under what conditions is the current code incorrect?

Oct 1 2025, 10:14 PM

Sep 27 2025

asomers committed rG3152a2f5dd04: fusefs: fix a kernel panic regarding SCM_RIGHTS (authored by asomers).
fusefs: fix a kernel panic regarding SCM_RIGHTS
Sep 27 2025, 2:36 PM
asomers committed rG7dc691b70353: fusefs: fix the last_local_modify LLM/LastLocalModify.lookup/3 test (authored by asomers).
fusefs: fix the last_local_modify LLM/LastLocalModify.lookup/3 test
Sep 27 2025, 2:36 PM
asomers committed rGa16c01f71fd5: fusefs: don't fake the mountpoint's stat info before FUSE_INIT completes (authored by asomers).
fusefs: don't fake the mountpoint's stat info before FUSE_INIT completes
Sep 27 2025, 2:36 PM
asomers committed rG4171bf5905a9: zfsd: don't try to fix an OFFLINE condition (authored by asomers).
zfsd: don't try to fix an OFFLINE condition
Sep 27 2025, 2:28 PM
asomers committed rG872d4fb51ef4: ctladm: skip the tests if ctladm is missing (authored by olivier).
ctladm: skip the tests if ctladm is missing
Sep 27 2025, 2:26 PM
asomers committed rG3c69315911ba: mac_bsdextended: report that all tests require the kernel module (authored by asomers).
mac_bsdextended: report that all tests require the kernel module
Sep 27 2025, 2:26 PM
asomers committed rGe1deeea6c173: ctladm: Use require.kmods for cfiscsi (authored by asomers).
ctladm: Use require.kmods for cfiscsi
Sep 27 2025, 2:26 PM
asomers committed rGe39e892969cb: ctl: delete dead code in the tests (authored by asomers).
ctl: delete dead code in the tests
Sep 27 2025, 2:26 PM
asomers committed rG931274f70d08: fusefs: report that all tests require the fusefs kernel module (authored by asomers).
fusefs: report that all tests require the fusefs kernel module
Sep 27 2025, 2:20 PM
asomers committed rG8b66d677a99b: ctl: add ATF tests for SCSI PERSISTENT RESERVE IN/OUT (authored by asomers).
ctl: add ATF tests for SCSI PERSISTENT RESERVE IN/OUT
Sep 27 2025, 1:54 PM