Page MenuHomeFreeBSD
Feed Search

Nov 6 2025

asomers committed rGa23bd71deaad: 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.
Nov 6 2025, 12:39 AM
asomers committed rGa1c3537148a5: 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.
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.
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.
Oct 28 2025, 2:09 PM
asomers committed R11:622a8bc6e126: 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.
Oct 27 2025, 7:12 PM

Oct 26 2025

asomers committed rGbe122b46be2d: 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.
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.
In D53080#1217336, @guest-svmhdvn wrote:

@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.
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.
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.
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.
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.
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.
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.
Sep 27 2025, 2:36 PM
asomers committed rG7dc691b70353: 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.
Sep 27 2025, 2:36 PM
asomers committed rG4171bf5905a9: 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).
Sep 27 2025, 2:26 PM
asomers committed rG3c69315911ba: 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.
Sep 27 2025, 2:26 PM
asomers committed rGe39e892969cb: 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.
Sep 27 2025, 2:20 PM
asomers committed rG8b66d677a99b: ctl: add ATF tests for SCSI PERSISTENT RESERVE IN/OUT.
Sep 27 2025, 1:54 PM

Sep 26 2025

asomers committed rG5206983e76c0: fusefs: fix a kernel panic regarding SCM_RIGHTS.
Sep 26 2025, 6:27 PM

Sep 25 2025

asomers committed rG3289d3831718: fusefs: fix the last_local_modify LLM/LastLocalModify.lookup/3 test.
Sep 25 2025, 10:39 PM

Sep 24 2025

asomers committed R11:7112661185f5: filesystems/xfuse: 0.5.1.
Sep 24 2025, 2:28 PM

Sep 20 2025

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

I have a few thoughts:

Sep 20 2025, 12:38 AM

Sep 19 2025

asomers committed rGe043af9ca596: fusefs: fix a kernel panic regarding SCM_RIGHTS.
Sep 19 2025, 10:39 PM
asomers closed D52625: fusefs: fix a kernel panic regarding SCM_RIGHTS.
Sep 19 2025, 10:39 PM
asomers added a comment to D52625: fusefs: fix a kernel panic regarding SCM_RIGHTS.

I'm sure this will fix the panic, but I can't easily see if it's correct. For instance, if the unix domain socket code does asynchronous fd reclamation using unp_gc_task, the current thread will be some taskqueue thread. Its PID will probably be zero (but this is an implementation detail). I see some special handling for PID 0 e.g. in fuse_filehandle_get_anyflags(). Will this work the way you want in that case?

Sep 19 2025, 8:42 PM
asomers committed rG27331c63bc80: sockstat: fix the -j option with piped output after libxo integration.
Sep 19 2025, 7:44 PM
asomers updated the diff for D52625: fusefs: fix a kernel panic regarding SCM_RIGHTS.
  • Also add a test case for writes to a file that lies in a sockbuf
Sep 19 2025, 6:11 PM
asomers requested review of D52625: fusefs: fix a kernel panic regarding SCM_RIGHTS.
Sep 19 2025, 5:04 PM

Sep 15 2025

asomers committed rG2918cf358291: fusefs: spaces to tabs. No functional change..
Sep 15 2025, 12:33 AM
asomers committed rGd1eaa52d10f9: fusefs: fix the last_local_modify LLM/LastLocalModify.lookup/3 test.
Sep 15 2025, 12:32 AM

Sep 12 2025

asomers committed R11:92709b8ef6ce: shells/fish: 4.0.6.
Sep 12 2025, 9:13 PM

Sep 9 2025

asomers committed rG9bfbc6826f72: sockstat: fix the -j option with piped output after libxo integration.
Sep 9 2025, 4:46 PM

Sep 7 2025

asomers added a comment to D52255: fuse: Fix GID when sending FUSE_INTERRUPT to a FUSE daemon.

What bug exactly does this "fix"? Did you encounter a bug in your work, or did you just discover this problem by inspection? If the former, we should add a test case to tests/sys/fs/fusefs.

Sep 7 2025, 5:52 PM

Aug 29 2025

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

Is this going to be landed?

Aug 29 2025, 4:01 PM

Aug 21 2025

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

@arrowd I agree with your change. The only thing I wanted different is a more detailed commit message. Of course, Mark might disagree.

Aug 21 2025, 7:54 PM

Aug 12 2025

asomers committed rGd88831779619: sockstat: fix port parsing after libxo integration.
Aug 12 2025, 4:41 PM
asomers committed rGec92e61f99f6: sockstat: rename sockstat.c to main.c.
Aug 12 2025, 4:41 PM
asomers committed rG61e404271ab8: sockstat: complete libxo integration and improve formatting (authored by Damin Rido <rido@freebsd.org>).
Aug 12 2025, 3:15 PM

Aug 8 2025

asomers committed rG950a251823e7: sockstat: revert incorrect use of path-state for SCTP connections (authored by Damin Rido <rido@freebsd.org>).
Aug 8 2025, 4:20 PM

Aug 7 2025

asomers accepted D51808: vfs: Add support for file cloning to VOP_COPY_FILE_RANGE.

Ok. I'm sure that you'll get the NFS client part done. The rest of it looks fine to me.

Aug 7 2025, 10:03 PM
asomers added a comment to D51808: vfs: Add support for file cloning to VOP_COPY_FILE_RANGE.

Here's a stupid question. Is it possible for nfsd to reexport an NFS mountpoint? If so, then nfs_copy_file_range will need to check the flag, too.

Not a stupid question. Linux allows this and they have endless bugs to deal
with because of it. FreeBSD does not and I hope to keep it that way.

Aug 7 2025, 9:38 PM
asomers added a comment to D51808: vfs: Add support for file cloning to VOP_COPY_FILE_RANGE.

Here's a stupid question. Is it possible for nfsd to reexport an NFS mountpoint? If so, then nfs_copy_file_range will need to check the flag, too.

Aug 7 2025, 9:21 PM
asomers requested changes to D51808: vfs: Add support for file cloning to VOP_COPY_FILE_RANGE.

Shouldn't there also be some ZFS code that returns ENOSYS if the cloning requirement cannot be satisfied? And fuse_vnop_copy_file_range cannot ever satisfy that requirement, so it should return ENOSYS just like in vn_generic_copy_file_range

Aug 7 2025, 9:16 PM
asomers added a comment to D51782: ctld: kernel-sourced portal groups are not dummies.

Instead of this, I think a better solution would be for ctld to ignore EEXIST errors. That would not only fix your situation, but would also go some way towards recovering from a ctld that crashed (currently, if ctld crashes the only way to recover is to reboot or to manually remove every target with ctladm). The port::kernel_add() method would need to be be adjusted to return an errno, of course. But the ioctls already do. I'm not sure what error code they currently return; that might need to be adjusted.

I had considered that, but this dummy check wasn't clear: https://cgit.freebsd.org/src/tree/usr.sbin/ctld/ctld.cc#n2038 -> this loop effectively does nothing at startup because all kernel ports are dummies. If the intention was to allow them to persist under the assumption they're being managed elsewhere, it seems like we should also have some mechanism to avoid destroying pre-existing LUNs from the kernel in the next loop -> thus I arrive at maybe they *should* be removed as well.

I'm more than happy to fix this to however people (like you) that actively work on ctld see fit, though.

I note that this seems to revert us to pre https://cgit.freebsd.org/src/commit/usr.sbin/ctld/ctld.c?h=stable/14&id=9215e501b9e7d3f425677ffd1d3f1542c9fbb4dc behavior

Aug 7 2025, 7:29 PM
asomers added a comment to D51782: ctld: kernel-sourced portal groups are not dummies.

Instead of this, I think a better solution would be for ctld to ignore EEXIST errors. That would not only fix your situation, but would also go some way towards recovering from a ctld that crashed (currently, if ctld crashes the only way to recover is to reboot or to manually remove every target with ctladm). The port::kernel_add() method would need to be be adjusted to return an errno, of course. But the ioctls already do. I'm not sure what error code they currently return; that might need to be adjusted.

Aug 7 2025, 6:47 PM
asomers added a comment to D51782: ctld: kernel-sourced portal groups are not dummies.

Is there a way to reproduce this bug using unpatched FreeBSD?

Aug 7 2025, 5:17 PM

Aug 6 2025

asomers committed R11:5f9aa574da6a: filesystems/zrepl: fix 500.zrepl periodic job with multiple certs.
Aug 6 2025, 1:47 PM

Aug 5 2025

asomers committed rG9e682c426093: fusefs: don't fake the mountpoint's stat info before FUSE_INIT completes.
Aug 5 2025, 10:54 PM
asomers closed D50800: fusefs: don't fake the mountpoint's stat info before FUSE_INIT completes.
Aug 5 2025, 10:53 PM
asomers accepted D51729: ctld: Use freebsd::fd_up to manage the lifecycle of accepted sockets.
Aug 5 2025, 2:38 PM

Aug 4 2025

asomers added inline comments to D48772: ctld: Add abstractions to support multiple target protocols.
Aug 4 2025, 11:17 PM