Page MenuHomeFreeBSD
Feed Advanced Search

Oct 24 2020

imp updated the diff for D26926: Update calendar for move to ports..

Add generated files to the clean list.

Oct 24 2020, 3:45 PM
imp added a reviewer for D26926: Update calendar for move to ports.: se.
Oct 24 2020, 3:41 PM
imp requested review of D26926: Update calendar for move to ports..
Oct 24 2020, 3:38 PM
imp committed rS366989: nvme: Remove compat code for older kernels.
nvme: Remove compat code for older kernels
Oct 24 2020, 1:59 AM
imp accepted D26854: kern_sysctl: Misc code cleanup.

love it. And thanks for the different commits... I 100% agree with phab being a pita to setup review chains.

Oct 24 2020, 12:24 AM
imp added a comment to D26912: RFC: Disk I/O priority support.

I could see a use for at least three levels of priority: low priority (default) for asynchronous I/O, mid-level priority for synchronous reads, high priority for synchronous writes.

Oct 24 2020, 12:17 AM · cam
imp added a comment to D26871: Save errno in `warn()` family of functions.

Doh! missed the 'static' here. Removed in a followup commit.

Oct 24 2020, 12:03 AM
imp committed rS366983: warnx: fix needless static.
warnx: fix needless static
Oct 24 2020, 12:03 AM

Oct 23 2020

imp closed D26871: Save errno in `warn()` family of functions.
Oct 23 2020, 11:56 PM
imp committed rS366982: warnx: Save errno across calls that might change it..
warnx: Save errno across calls that might change it.
Oct 23 2020, 11:56 PM
imp committed rP553142: Update to the 202010 release..
Update to the 202010 release.
Oct 23 2020, 8:51 PM
imp accepted D26832: sysctl: Misc code cleanup.

Modulo the blank line thing, this looks good. It's arguably two different commits, but it's so small splitting it further at this stage likely has little benefit.

Oct 23 2020, 8:09 PM
imp added a comment to D26883: Calendar files for modified FreeBSD calendar program.

I think #2 is the best option. I've created https://github.com/freebsd/calendar-data (default branch is presently data, trying to get it fixed to main, but there's also a main branch w/o the removal commit).

Oct 23 2020, 5:56 PM
imp added a comment to D26912: RFC: Disk I/O priority support.

Interesting. I have patches to iosched that marks metadata requests and topqueues them, but doesn't try to prioritize in the drive. It doesn't handle writes, though (we don't need them, but it's one of the reasons I've not conmitted)... it gives a modest boost to open latency, but not as much as the async open chuck is working on.

Oct 23 2020, 4:10 AM · cam
imp added a comment to D26883: Calendar files for modified FreeBSD calendar program.

Sorry it took me a day (long story, unrelated to this task), but I have a repo:

Oct 23 2020, 3:22 AM

Oct 22 2020

imp accepted D26871: Save errno in `warn()` family of functions.

Looks great...

Oct 22 2020, 5:03 PM
imp added a comment to D26883: Calendar files for modified FreeBSD calendar program.

I can extract history here too, if you want

Oct 22 2020, 1:47 AM
imp added inline comments to D26883: Calendar files for modified FreeBSD calendar program.
Oct 22 2020, 1:46 AM
imp accepted D26882: Allow calendar files to be provided by a port.
Oct 22 2020, 1:45 AM

Oct 20 2020

imp added a comment to D26735: Improve loading of multipage aligned buffers..

I booted this on my emag:
CPU 1: APM eMAG 8180 r3p2 affinity: 0 1
and it seems to fix the issues that I had with cd sometimes detecting, other times not, as well as some weird reliability stuff relating to /etc/rc running at boot reliably.
I also had a weird issue where I'd type 'sudo reboot' and it would echo back 'sudo rebeoot' sometimes.
Not super extensive, but it's definitely not worse and preliminary indications are that it's better (though I'll admit to a smaller sample size with the patch than testing to produce the litany of horrors I've recounted).

Oct 20 2020, 7:21 AM
imp added a comment to D26835: Add "device ch" to GENERIC kernel config for arm64 and descriptions to block devices.

Try adding literally any other device or option that will move code around

Oct 20 2020, 1:23 AM
imp added a comment to D26835: Add "device ch" to GENERIC kernel config for arm64 and descriptions to block devices.

I have a eMAG 8180 based system

Oct 20 2020, 1:10 AM
imp added a comment to D26835: Add "device ch" to GENERIC kernel config for arm64 and descriptions to block devices.

Something else is going on...

Oct 20 2020, 1:08 AM

Oct 19 2020

imp accepted D26871: Save errno in `warn()` family of functions.

I was going to ask why you didn't do this for the err* functions too... Then realized it was probably time for me to knock off for the day if I had that question :)

Oct 19 2020, 11:28 PM
imp accepted D26784: vmapbuf: don't smuggle user address via b_data.

This is good... only caveat is that MFC code near this stuff might be a pain... A minor inconvenience at best, so this is a LGTM!

Oct 19 2020, 11:26 PM
imp added a comment to D26844: Use UMA for CCBs..

Yea, getdev has gotten out of hand... It has all of ATA IDENTIFY, SCSI INQUIRY and MMC data...

Oct 19 2020, 9:47 PM
imp requested review of D26873: cam: Replace fixed-size xpt malloc with uma zones.
Oct 19 2020, 9:45 PM
imp added a comment to D26835: Add "device ch" to GENERIC kernel config for arm64 and descriptions to block devices.

Why do we need the changer device for the cd to show up? More details than 'for usb' are needed here to connect the dots one to another for others in a similar situation. 'for usb to work' provides no context and is quite surprising based on my storage and usb experience.

Oct 19 2020, 5:16 PM
imp accepted D26852: efibootmgr: Use returned error code for error message, not errno.
Oct 19 2020, 10:25 AM
imp committed rS366822: Add more explicit instructions about updating motd.
Add more explicit instructions about updating motd
Oct 19 2020, 1:17 AM

Oct 18 2020

imp accepted D26846: [zfs] don't include a non-existent include directory.

seems legit. There's no includes/spl and module/spl has no .h files in it

Oct 18 2020, 9:42 PM
imp requested changes to D26844: Use UMA for CCBs..

I'm out and about today... but I've done this as well and other CAM structures to boot. Let's coordinate.

Oct 18 2020, 7:54 PM
imp added a comment to D26843: sbp(4): use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free.

There is a question about whether we should keep firewire at all, but in the mean time this is good.

Oct 18 2020, 7:39 PM
imp accepted D26843: sbp(4): use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free.
Oct 18 2020, 7:38 PM
imp accepted D26842: hptmv(4): use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free..

Agree with mav on both points. This looks low risk and correct

Oct 18 2020, 7:36 PM
imp accepted D26841: tws(4): use xpt_alloc_ccb().
Oct 18 2020, 7:34 PM
imp accepted D26840: arcmsr(4): don't bzero newly allocated ccb.
Oct 18 2020, 5:54 PM
imp accepted D26838: smartpqi(4): don't bzero allocated ccb.
Oct 18 2020, 5:53 PM
imp accepted D26726: Add support for asynchrous file system operations to aio.
Oct 18 2020, 3:47 PM
imp added inline comments to D26541: net80211: factor out the priv(9) checks into OS specifc code..
Oct 18 2020, 3:11 PM

Oct 17 2020

imp added a comment to D26818: cdefs: Assume __GNUC__ defined.
In D26818#598049, @kib wrote:
In D26818#598018, @imp wrote:
In D26818#597997, @kib wrote:

In fact having gnuc-isms clearly marked is a useful feature.

Everything in this file is a gnu ism... no?

No, I do not view it this way. First, there is enough stuff not related to GNU C extensions. Starting from the compat shims for c89 or even K&R (but some stuff like static assert or array sizing in args, is really for c99), POSIX/XSI/BSD visibility macros, ending in thread-local shims etc that do not require gnu-isms.

Oct 17 2020, 7:37 PM
imp accepted D26824: Add plug and play information macroses for ACPI and I2C buses..

One nit on the comments, otherwise it's fine. Fix that and I'm good with what you commit (so I'm accepting it now). I'm a little worried about the DEV_ACPI ifdef, but it's likely fine... I suspect we'll have at least one module not built properly, or built independently of the tree that has issues, but we can look into those when that happens.

Oct 17 2020, 7:27 PM
imp added inline comments to D25476: Fix use after free panic and state transitions in mps(4) and mpr(4).
Oct 17 2020, 3:26 PM · cam
imp added a comment to D25476: Fix use after free panic and state transitions in mps(4) and mpr(4).

I've had good luck running this for 2 or 3 firmware cycles now at Netflix... We're down 3/4 in panics, and at least part of the remaining 1/4 appear to be due to a small mismerge of two files so they were out of sync with the rest of the state machine....

Oct 17 2020, 3:08 PM · cam
imp added inline comments to D26726: Add support for asynchrous file system operations to aio.
Oct 17 2020, 2:44 AM
imp accepted D26823: devmatch(8): Respect mask field when matching strings..
Oct 17 2020, 12:53 AM
imp added inline comments to D26823: devmatch(8): Respect mask field when matching strings..
Oct 17 2020, 12:36 AM
imp added a comment to D26818: cdefs: Assume __GNUC__ defined.
In D26818#597997, @kib wrote:

The bigger part of !GNUC support is in machine/atomic.h.

Oct 17 2020, 12:26 AM
imp added inline comments to D26823: devmatch(8): Respect mask field when matching strings..
Oct 17 2020, 12:25 AM

Oct 16 2020

imp added inline comments to D26819: cdefs: require gcc 4.2 or later.
Oct 16 2020, 6:40 PM
imp retitled D26819: cdefs: require gcc 4.2 or later from cdefs: require gcc 4.2 to cdefs: require gcc 4.2 or later.
Oct 16 2020, 5:28 PM
imp added a comment to D26819: cdefs: require gcc 4.2 or later.

cdefs: require gcc 4.2

... or later! 😉

Oct 16 2020, 5:28 PM
imp requested review of D26819: cdefs: require gcc 4.2 or later.
Oct 16 2020, 5:21 PM
imp requested review of D26818: cdefs: Assume __GNUC__ defined.
Oct 16 2020, 5:20 PM
imp requested review of D26817: cdefs.h: remove intel_compiler support.
Oct 16 2020, 5:01 PM

Oct 15 2020

imp accepted D26804: [gnuregex] Fix size demotion rounding errors that have crept up with later gcc.

seems legit

Oct 15 2020, 8:14 PM
imp added inline comments to D26794: [openzfs] Fix compilation under gcc for freebsd.
Oct 15 2020, 5:01 PM
imp requested changes to D26790: [libnetmap] Fix 32 bit compilation on gcc-6.3.

I think that it would be better to use the nmreq_foreeach_option macro in these locations. It looks like it would expand to the same thing and future proof things a little better...

Oct 15 2020, 4:56 PM
imp accepted D26795: [pfctl_tests] Add missing void to empty function declaration.
Oct 15 2020, 10:05 AM
imp requested changes to D26794: [openzfs] Fix compilation under gcc for freebsd.
Oct 15 2020, 10:04 AM
imp added inline comments to D26793: [posixshm_test] Fix unused variable errors and unsigned check errors on gcc-6.4.
Oct 15 2020, 9:59 AM
imp added inline comments to D26791: [nvmecontrol] Fix type signedness warning-to-error on gcc-6.4.
Oct 15 2020, 9:55 AM
imp added a comment to D26790: [libnetmap] Fix 32 bit compilation on gcc-6.3.

You're going to need a lot more than 'fix compilation' for these patchs. Why do you need it? It super uglifies the code for no benefit.

Oct 15 2020, 9:53 AM

Oct 14 2020

imp accepted D26783: physio: Don't store user addresses in bio_data.
Oct 14 2020, 11:39 PM
imp committed rS366691: MFS12: r366422 r366588.
MFS12: r366422 r366588
Oct 14 2020, 1:47 AM

Oct 13 2020

imp updated the diff for D26767: nvme: Use shared timeout rather than timeout per transaction.

oldest is always front of queue, use this observation to make deadline more robust.

Oct 13 2020, 9:05 PM
imp requested review of D26767: nvme: Use shared timeout rather than timeout per transaction.
Oct 13 2020, 8:02 PM
imp accepted D26637: kldxref: Avoid buffer overflows in parse_pnp_list.

Looks good to me. Beats using sbuf since it is more portable

Oct 13 2020, 6:46 PM
imp committed rS366663: Document /boot/config as well as /boot.config.
Document /boot/config as well as /boot.config
Oct 13 2020, 5:39 AM
imp committed rS366662: devmatch: First appeared in 12.0.
devmatch: First appeared in 12.0
Oct 13 2020, 5:32 AM
imp closed D26723: Document the rather suprising behavior with ' inside action rules..
Oct 13 2020, 5:19 AM
imp committed rS366661: Document the rather suprising behavior with ' inside action rules..
Document the rather suprising behavior with ' inside action rules.
Oct 13 2020, 5:19 AM
imp committed rS366660: Force __BMI__ experimental instructions off..
Force __BMI__ experimental instructions off.
Oct 13 2020, 4:38 AM
imp committed rS366659: Add back org.freebsd:zstd_compress to features_for_read.
Add back org.freebsd:zstd_compress to features_for_read
Oct 13 2020, 3:49 AM
imp committed rS366658: Turn off zstd on aarch64.
Turn off zstd on aarch64
Oct 13 2020, 2:37 AM

Oct 12 2020

imp closed D26218: Integrate zstd into boot loader.
Oct 12 2020, 10:19 PM
imp committed rS366657: Add zstd support to the boot loader..
Add zstd support to the boot loader.
Oct 12 2020, 10:19 PM
imp committed rS366656: newbus: use ssize_t to match sb's len and size, fix ordering of space check.
newbus: use ssize_t to match sb's len and size, fix ordering of space check
Oct 12 2020, 10:07 PM
imp added inline comments to D26218: Integrate zstd into boot loader.
Oct 12 2020, 8:15 PM
imp updated the diff for D26218: Integrate zstd into boot loader.

One more nit before upstreaming. Down to 2 defines in the shim.

Oct 12 2020, 8:11 PM
imp updated the diff for D26218: Integrate zstd into boot loader.

update with matt's suggestion

Oct 12 2020, 7:55 PM
imp added reviewers for D26752: newbus: use ssize_t to match sb's len and size, fix ordering of space check: cem, jhb.
Oct 12 2020, 6:16 PM
imp accepted D26750: iscsi(4) freeze vs action race workaround.

There's many races here around frozen queues, and I'll wager it's best to check the race is lost in the sim like this rather than introduce a new lock that would contend.

Oct 12 2020, 6:05 PM
imp accepted D26658: Make g_attach() return ENXIO for orphaned providers..
Oct 12 2020, 6:00 PM
imp added a comment to D26658: Make g_attach() return ENXIO for orphaned providers..

I don't suppose you have a good test case that triggers the underling issue, do you?

Oct 12 2020, 6:00 PM
imp updated the diff for D26218: Integrate zstd into boot loader.

rebase, and some last second refinement.

Oct 12 2020, 5:06 PM
imp requested review of D26752: newbus: use ssize_t to match sb's len and size, fix ordering of space check.
Oct 12 2020, 4:28 PM
imp accepted D26736: Add 'netserver' command to EFI loader..
Oct 12 2020, 8:44 AM
imp updated the diff for D26218: Integrate zstd into boot loader.

update atomic.h to fully neutered for STANDALONE version, save for
atomic_add_uint64

Oct 12 2020, 6:05 AM
imp updated the diff for D26218: Integrate zstd into boot loader.

Rebase and rework after comments from the OpenZFS upstreaming
to reduce diffs in upstream files. I was able to flesh out
the _STANDALONE support in the spl for FreeBSD instead of
some surgery in upstream files.

Oct 12 2020, 6:02 AM
imp committed rS366629: systm.h: forward declare ucred for _STANDALONE too.
systm.h: forward declare ucred for _STANDALONE too
Oct 12 2020, 5:57 AM

Oct 9 2020

imp committed rS366588: MFC: r366216 imp.
MFC: r366216 imp
Oct 9 2020, 9:02 PM
imp accepted D26725: arm: Check dtb version against the one we're expecting to find..

In the fullness of time, we may want to be pickier about this, but at the moment I see no benefit from that beyond knowing !=.

Oct 9 2020, 8:43 PM
imp accepted D26724: Brand our DTS with the Linux version it was imported from.
Oct 9 2020, 8:42 PM
imp added a comment to D26723: Document the rather suprising behavior with ' inside action rules..

I think this should be in a BUGS section

Oct 9 2020, 8:41 PM
imp requested review of D26723: Document the rather suprising behavior with ' inside action rules..
Oct 9 2020, 5:16 PM
imp committed rS366579: Remove gratuitous use of '' around arguments.
Remove gratuitous use of '' around arguments
Oct 9 2020, 3:45 PM
imp committed rS366578: Avoid using single quotes in arguments to logger..
Avoid using single quotes in arguments to logger.
Oct 9 2020, 3:29 PM
imp closed D26562: Move kernel env global variables, etc to sys/kenv.h.

comitted as r366508

Oct 9 2020, 3:08 AM
imp committed rS366560: Remove now-unused files.
Remove now-unused files
Oct 9 2020, 1:48 AM