Page MenuHomeFreeBSD
Feed Advanced Search

Mar 31 2023

asomers accepted D39350: fuse: Remove set but unused cr_gid variable..
Mar 31 2023, 12:42 AM

Mar 29 2023

asomers committed R11:32a98c054d5c: devel/py-p4python: relinquish maintainership (authored by asomers).
devel/py-p4python: relinquish maintainership
Mar 29 2023, 5:21 PM

Mar 27 2023

asomers closed D33954: ses: cleanup ses tests.
Mar 27 2023, 8:12 PM
asomers committed rGb37d1deb045d: ses: cleanup ses tests (authored by asomers).
ses: cleanup ses tests
Mar 27 2023, 8:12 PM
asomers updated the diff for D33954: ses: cleanup ses tests.
  • Sanitize element status bits with ses_status_to_ctrl
Mar 27 2023, 8:02 PM
asomers closed D39017: sesutil: fix "fault all" with zoned jbods.
Mar 27 2023, 7:45 PM
asomers committed rG57dc6f5e200b: sesutil: fix "fault all" with zoned jbods (authored by asomers).
sesutil: fix "fault all" with zoned jbods
Mar 27 2023, 7:45 PM
asomers added a comment to D39017: sesutil: fix "fault all" with zoned jbods.

Ok, I'll commit for now. However, this vendor is sometimes responsive. They might be willing to choose a better error type if I ask. Do you have any particular SCSI sense code in mind?

Mar 27 2023, 7:43 PM
asomers added a comment to D39141: Rationalize SES physical paths strings and device aliases.
In D39141#894562, @mav wrote:

@mav do you have any of those dual-actuator HDDs? If so, would you be willing to test a patch that adds their LUN numbers to the physical path string? I can send that separately.

I have couple of those in my office desk, but tomorrow morning I am leaving for AsiaBSDCon and will be back only after April 10.

Mar 27 2023, 7:36 PM
asomers added a comment to D39141: Rationalize SES physical paths strings and device aliases.

@mav do you have any of those dual-actuator HDDs? If so, would you be willing to test a patch that adds their LUN numbers to the physical path string? I can send that separately.

Mar 27 2023, 7:32 PM
asomers added a comment to D39017: sesutil: fix "fault all" with zoned jbods.

@mav given my comments above, are you ok with merging this? Do you have any better ideas for how to fix the problem?

Mar 27 2023, 7:29 PM
asomers added a comment to D33954: ses: cleanup ses tests.

ping. Does this look good, @mav ?

Mar 27 2023, 7:28 PM

Mar 23 2023

asomers abandoned D39139: ses: update status more promptly after a change.

Yep, I see that you're correct. This is a classic case of two branches solving the same problem in different ways (if you haven't already figured out, I've been trying to reconcile some of Spectra's old ses changes). I'll abandon this revision.

Mar 23 2023, 7:39 PM

Mar 22 2023

asomers committed rG1a798187e554: Fix kernel memory disclosures in mpr and mps (authored by asomers).
Fix kernel memory disclosures in mpr and mps
Mar 22 2023, 7:29 PM

Mar 18 2023

asomers added a comment to D39141: Rationalize SES physical paths strings and device aliases.
In D39141#891271, @mav wrote:

The original physical path format came from Solaris/Illumos. While I agree that it is ugly and not very documented, I am not a big fan of incompatible changes. I'd think twice.

Mar 18 2023, 3:51 PM

Mar 17 2023

asomers requested review of D39141: Rationalize SES physical paths strings and device aliases.
Mar 17 2023, 1:50 AM

Mar 16 2023

asomers requested review of D39139: ses: update status more promptly after a change.
Mar 16 2023, 8:42 PM
asomers closed D39096: status/report-2023-01-2023-03/fsx.adoc: Add report.
Mar 16 2023, 8:16 PM
asomers committed R9:d99ea1155457: status/report-2023-01-2023-03/fsx.adoc: Add report (authored by asomers).
status/report-2023-01-2023-03/fsx.adoc: Add report
Mar 16 2023, 8:16 PM
asomers updated the diff for D39096: status/report-2023-01-2023-03/fsx.adoc: Add report.
  • Respond to grahamperrin's comments
Mar 16 2023, 5:39 PM
asomers accepted D39125: ping: Avoid magic numbers.
Mar 16 2023, 5:02 PM
asomers added inline comments to D39115: carp tests: test manually switch between backup and master.
Mar 16 2023, 2:51 PM
asomers added inline comments to D39115: carp tests: test manually switch between backup and master.
Mar 16 2023, 2:42 PM
asomers committed R11:3287e13ac4bd: devel/{p4,p4api}: relinquish maintainership (authored by asomers).
devel/{p4,p4api}: relinquish maintainership
Mar 16 2023, 2:38 PM
asomers committed R11:c8defd98bea0: sysutils/gstat-rs: broken on powerpc (authored by asomers).
sysutils/gstat-rs: broken on powerpc
Mar 16 2023, 2:37 PM

Mar 15 2023

asomers committed rG4e4e299b0950: fusefs: add some more test cases for bad fuse servers (authored by asomers).
fusefs: add some more test cases for bad fuse servers
Mar 15 2023, 10:47 PM
asomers committed rG3205b36fba10: fusefs: fix a buffer overflow in the tests (authored by asomers).
fusefs: fix a buffer overflow in the tests
Mar 15 2023, 10:41 PM
asomers committed rGbd66219c6dc1: sesutil: don't malloc in a tight loop (authored by asomers).
sesutil: don't malloc in a tight loop
Mar 15 2023, 10:37 PM
asomers added a reviewer for D39096: status/report-2023-01-2023-03/fsx.adoc: Add report: status.
Mar 15 2023, 3:29 PM
asomers requested review of D39096: status/report-2023-01-2023-03/fsx.adoc: Add report.
Mar 15 2023, 3:29 PM

Mar 14 2023

asomers added a comment to D38739: mprutil: "fix user reply buffer (64)..." warnings.

@scottl are you happy with the latest changes?

Mar 14 2023, 5:13 PM
asomers committed R11:4bc4d0fcbe9a: editors/neovim-gtk: new port (authored by asomers).
editors/neovim-gtk: new port
Mar 14 2023, 5:10 PM

Mar 13 2023

asomers added a comment to D39017: sesutil: fix "fault all" with zoned jbods.
In D39017#888701, @mav wrote:

It may be OK, but I am not sure I like this approach. It creates additional kernel requests, it is potentially racy. Doesn't the enclosure return some reasonable status that kernel could convert into EACCESS or something more reasonable than EINVAL? At least it would be good to do both.

Mar 13 2023, 9:11 PM
asomers accepted D39014: tftp: Add test cases for URL mode..
Mar 13 2023, 3:14 PM

Mar 10 2023

asomers accepted D39018: tarfs: Repeat tests using GNU tar if available..

LGTM. BTW, if you want this to run in FreeBSD's own CI, you should add gtar to https://github.com/freebsd/freebsd-ci/blob/1b56d3fb6cbec4ac4864e42cad056ecf0d0bf474/scripts/build/build-test_image-head.sh#L63 .

Mar 10 2023, 9:13 PM
asomers requested review of D39017: sesutil: fix "fault all" with zoned jbods.
Mar 10 2023, 5:48 PM
asomers accepted D39012: tftpd: Gracefully skip tests if networking is not enabled..
Mar 10 2023, 1:01 PM
asomers accepted D38969: tftp: Add tests..
Mar 10 2023, 1:00 PM

Mar 9 2023

asomers requested changes to D38969: tftp: Add tests..
Mar 9 2023, 6:30 PM
asomers committed R11:1b875d392cf5: net-mgmt/nfs-exporter: update to 0.4.2 (authored by asomers).
net-mgmt/nfs-exporter: update to 0.4.2
Mar 9 2023, 5:30 PM

Mar 8 2023

asomers added inline comments to D38969: tftp: Add tests..
Mar 8 2023, 12:17 AM

Mar 7 2023

asomers requested changes to D38969: tftp: Add tests..
Mar 7 2023, 11:43 PM

Mar 2 2023

asomers abandoned D38717: fusefs: fix a buffer overflow in the tests.

Duplicate of D38719

Mar 2 2023, 8:39 PM
asomers committed rG72aad3f9028a: Fix kernel memory disclosures in mpr and mps (authored by asomers).
Fix kernel memory disclosures in mpr and mps
Mar 2 2023, 8:33 PM
asomers closed D38842: Fix kernel memory disclosures in mpr and mps.
Mar 2 2023, 8:32 PM

Mar 1 2023

asomers updated the diff for D33954: ses: cleanup ses tests.
  • style
  • Fully initialize elmstat during do_setelmstat_cleanup
Mar 1 2023, 11:29 PM
asomers requested review of D38842: Fix kernel memory disclosures in mpr and mps.
Mar 1 2023, 7:18 PM

Feb 28 2023

asomers accepted D38828: Skip tarfs regression test if module doesn't exist.
Feb 28 2023, 8:10 PM

Feb 27 2023

asomers accepted D38814: Call VOP_COPY_FILE_RANGE() for the same file system type..

LGTM. But is there any file system that you expect to support cross-mountpoint copy_file_range ?

Feb 27 2023, 10:24 PM

Feb 24 2023

asomers updated the diff for D38739: mprutil: "fix user reply buffer (64)..." warnings.
  • Correctly zero-initialize MPI2_IOC_FACTS_REQUEST
  • Check for the size of the MPI2_IOC_FACTS_REPLY at runtime
Feb 24 2023, 10:09 PM
asomers added a comment to D38739: mprutil: "fix user reply buffer (64)..." warnings.

So yeah, just ask for 4 bytes, get the MsgLength, then ask for the rest based on that. No more magic numbers needed when you do that.

Feb 24 2023, 5:57 PM
asomers added a comment to D38739: mprutil: "fix user reply buffer (64)..." warnings.

@scottl as discussed in bugzilla, the actual msgver is 2.5, at least in my case. So the original commit wrongly guessed which versions require the larger struct. Also, what's so bad about unconditionally allocating an extra 4 bytes? It's cheaper than checking the sysctl.
@imp what determines the message format version number? Is it the driver? Will an mps card ever use msgversion >= 2.5? Will an mpr card ever use msgversion < 2.5 ?

Feb 24 2023, 5:31 PM
asomers accepted D38744: ping: Fix integer underflow resuling in a ping -R segfault.

Hopefully this kind of thing won't happen any more once we have a better ping test suite.

Feb 24 2023, 2:33 PM

Feb 23 2023

asomers added a comment to D38739: mprutil: "fix user reply buffer (64)..." warnings.

Good find, @imp . I think this means we need to split mps_cmd into separate source files for mps and mpr.

Feb 23 2023, 11:17 PM

Feb 22 2023

asomers requested review of D38739: mprutil: "fix user reply buffer (64)..." warnings.
Feb 22 2023, 10:11 PM
asomers committed R11:40ce1bc9da23: net-mgmt/nfs-exporter: upgrade to 0.4.1 (authored by asomers).
net-mgmt/nfs-exporter: upgrade to 0.4.1
Feb 22 2023, 8:28 PM
asomers committed rG5f51c9c328a6: fusefs: add some more test cases for bad fuse servers (authored by asomers).
fusefs: add some more test cases for bad fuse servers
Feb 22 2023, 5:05 PM
asomers closed D38719: fusefs: add some more test cases for bad fuse servers.
Feb 22 2023, 5:04 PM
asomers committed rG0c9df4afc239: fusefs: fix a buffer overflow in the tests (authored by asomers).
fusefs: fix a buffer overflow in the tests
Feb 22 2023, 5:04 PM
asomers closed D38718: fusefs: fix a buffer overflow in the tests.
Feb 22 2023, 5:03 PM
asomers updated the diff for D38718: fusefs: fix a buffer overflow in the tests.
  • Fix size comparisons during FUSE_WRITE
  • Add another size check in bmap.cc
Feb 22 2023, 3:20 PM
asomers added inline comments to D38718: fusefs: fix a buffer overflow in the tests.
Feb 22 2023, 3:19 PM
asomers requested review of D38719: fusefs: add some more test cases for bad fuse servers.
Feb 22 2023, 12:34 AM
asomers requested review of D38718: fusefs: fix a buffer overflow in the tests.
Feb 22 2023, 12:34 AM
asomers requested review of D38717: fusefs: fix a buffer overflow in the tests.
Feb 22 2023, 12:33 AM

Feb 19 2023

asomers committed rGfbb102b2cec5: fusefs: fix some resource leaks (authored by asomers).
fusefs: fix some resource leaks
Feb 19 2023, 11:44 PM
asomers committed rG57756461548b: fusefs: fix some resource leaks (authored by asomers).
fusefs: fix some resource leaks
Feb 19 2023, 4:49 PM

Feb 16 2023

asomers abandoned D38610: libefivar: more glabel support.

Superseded by D38619

Feb 16 2023, 6:22 PM
asomers committed rGa064fe6ba9d5: Change "ctlstat -P"'s schema (authored by asomers).
Change "ctlstat -P"'s schema
Feb 16 2023, 5:04 PM
asomers committed rGbeffd5c0c12f: Change "ctlstat -P"'s schema (authored by asomers).
Change "ctlstat -P"'s schema
Feb 16 2023, 4:23 PM
asomers committed rGc16a901eac92: sesutil: plug memory leaks (authored by asomers).
sesutil: plug memory leaks
Feb 16 2023, 12:33 AM
asomers accepted D38616: efivar: support device paths as well as mounted paths in path_to_dp.
Feb 16 2023, 12:29 AM

Feb 15 2023

asomers added a comment to D38616: efivar: support device paths as well as mounted paths in path_to_dp.

Is the purpose of this change to accept either a "/dev/foo/bar" or a "foo/bar"? Also, in your commit message could you check the word choice in "know the path passed in" ?

Feb 15 2023, 11:43 PM
asomers accepted D38615: efivar: Allow NULL paths in build_dp.

I suppose this is ok, not that I know how to test it or anything. But do fix the typo in the commit message, and convert spaces to tabs in the code.

Feb 15 2023, 11:36 PM
asomers added a comment to D38617: efibootmgr: Add --efidev (-u) to discover UEFI's device path to a dev or file.

Is this redundant with efidp -e? I'm not sure how to use efidp, though. Also, don't forget to update the man page's .Dd date.

Feb 15 2023, 11:31 PM
asomers accepted D38614: efivar: Try harder to find label's efimedia.

I see nothing wrong with this, though I'm not very familiar with this library, and I don't know how to test it. However, there are two typos in your commit message, and the first line should read "libefivar" instead of "efivars".

Feb 15 2023, 11:22 PM
asomers accepted D38619: efivar: Really look for labels for the provider with right efimedia.

Works for me now.

Feb 15 2023, 11:16 PM
asomers requested changes to D38619: efivar: Really look for labels for the provider with right efimedia.

This fixes the path returned in abspath. However, it doesn't fix what's returned in dev. You can demonstrate by doing something like efivar -Op 8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0014. That will print the partition name instead of the label name.

Feb 15 2023, 10:04 PM
asomers accepted D38613: libefivar: Add note about extra compiler flags.
Feb 15 2023, 8:15 PM
asomers added a comment to D38610: libefivar: more glabel support.

https://reviews.freebsd.org/D38614 won't solve the original problem that Corvin described in PR 269564. The find_geom_efimedia function doesn't even get executed by "efibootmgr -pE". Are you planning to fix that?

Feb 15 2023, 8:14 PM
asomers requested review of D38610: libefivar: more glabel support.
Feb 15 2023, 6:39 PM

Feb 14 2023

asomers committed rG1bdf879b97b6: fusefs: fix some resource leaks (authored by asomers).
fusefs: fix some resource leaks
Feb 14 2023, 9:22 PM
asomers closed D38526: fusefs: fix some resource leaks.
Feb 14 2023, 9:21 PM

Feb 13 2023

asomers committed rG4c163a548080: Change "ctlstat -P"'s schema (authored by asomers).
Change "ctlstat -P"'s schema
Feb 13 2023, 4:19 PM
asomers closed D38500: Change "ctlstat -P"'s schema.
Feb 13 2023, 4:19 PM
asomers committed rG4bd4e4b45e8b: sesutil: don't malloc in a tight loop (authored by asomers).
sesutil: don't malloc in a tight loop
Feb 13 2023, 4:06 PM
asomers closed D38473: sesutil: don't malloc in a tight loop.
Feb 13 2023, 4:06 PM
asomers added inline comments to D38473: sesutil: don't malloc in a tight loop.
Feb 13 2023, 4:01 PM

Feb 12 2023

asomers requested review of D38526: fusefs: fix some resource leaks.
Feb 12 2023, 12:27 AM

Feb 11 2023

asomers added a comment to D38500: Change "ctlstat -P"'s schema.

We previously discussed publishing a join table to associate targets with luns. But I realized that I actually don't need that for our purposes, so I didn't implement it.

Feb 11 2023, 12:10 AM
asomers abandoned D38130: ctlstat: fix -P with disassociated LUNs..

Closing in favor of D38500

Feb 11 2023, 12:09 AM
asomers requested review of D38500: Change "ctlstat -P"'s schema.
Feb 11 2023, 12:09 AM

Feb 10 2023

asomers added a comment to D38485: ping: Add units to SIGINFO's statistics.

I like it. And yes I think you should add stddev to match the regular program output at termination.

Feb 10 2023, 3:19 PM
asomers added a comment to D38483: ping: Tell SIGQUIT to interrupt the system call.

Philosophically, SIGQUIT is different than SIGINT. It's more like "I the programmer have determined that this program is behaving badly, and would like a core dump". But I could go either way, if people disagree with me here.

Feb 10 2023, 3:17 PM
asomers accepted D38484: ping: Specify the sigaction(2) name.
Feb 10 2023, 3:05 PM

Feb 9 2023

asomers requested review of D38473: sesutil: don't malloc in a tight loop.
Feb 9 2023, 10:24 PM
asomers added a comment to D33955: sesutil: plug memory leaks.

I sort of forgot about this review. I've committed it as-is, and next I'll make the memory allocations more efficient, as @mav suggested.

Feb 9 2023, 9:44 PM
asomers closed D33955: sesutil: plug memory leaks.
Feb 9 2023, 9:44 PM
asomers committed rG09f29b03ddf8: sesutil: plug memory leaks (authored by asomers).
sesutil: plug memory leaks
Feb 9 2023, 9:44 PM
asomers added a comment to D38431: ping: Reference implementation.

I don't understand why you need this revision. For what will it serve as a reference implementation?

Feb 9 2023, 8:08 PM