Page MenuHomeFreeBSD

jhb (John Baldwin)
User

Projects (9)

User Details

User Since
Mar 11 2014, 8:46 PM (531 w, 4 d)

Recent Activity

Fri, May 17

jhb accepted D45230: Improve broken-on-gcc checks.
Fri, May 17, 7:23 PM
jhb added a comment to D36754: arm atomic-v6.h: Use eoreqs rather than eorseq to appease GNU as..

Hmm, shouldn't the -masm-syntax-unified be added to gcc CFLAGS? (just guessing, untested)

Fri, May 17, 7:22 PM
jhb added inline comments to D45223: bhyve: avoid resource leak in error path.
Fri, May 17, 7:21 PM

Thu, May 16

jhb added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

FYI, I did tweak a few style things when pushing: 1) I moved the new extern variable declaration down next to the one other extern variable in the header (and in general type definitions are first before externs), and in kern_linker.c I rewrapped a few lines to fit in 80 cols.

Thu, May 16, 9:19 PM
jhb committed rG75529910f77a: Trim a spurious trailing backslash (authored by jhb).
Trim a spurious trailing backslash
Thu, May 16, 7:31 PM
jhb added a comment to D45193: arm: fail early on gcc builds.

Only amd64 and i386 successfully build with GCC currently. risc-v needs GCC's libatomic to link, powerpc and arm break in various ways. There's a reason that only amd64 GCC builds are enabled in CI. The toolchains do exist for all of our platforms, but getting things to build there is more of an aspiration.

Thu, May 16, 5:39 PM
jhb committed rG28a59100b54f: linuxkpi: Provide a non-NULL value for THIS_MODULE (authored by ashafer_badland.io).
linuxkpi: Provide a non-NULL value for THIS_MODULE
Thu, May 16, 5:39 PM
jhb closed D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Thu, May 16, 5:38 PM
jhb accepted D45223: bhyve: avoid resource leak in error path.
Thu, May 16, 5:35 PM
jhb added a reviewer for D45223: bhyve: avoid resource leak in error path: corvink.
Thu, May 16, 5:35 PM

Mon, May 13

jhb requested review of D45187: cxgbe: Add a 'show t4 memdump' DDB command.
Mon, May 13, 9:46 PM
jhb requested review of D45186: cxgbe: Remove most uses of sysctl_wire_old_buffer.
Mon, May 13, 9:46 PM
jhb committed rGda4230af3fda: nvme/f: Use strlcpy instead of strncpy + manual string termination (authored by jhb).
nvme/f: Use strlcpy instead of strncpy + manual string termination
Mon, May 13, 7:04 PM
jhb committed rG01fc488381e9: nvme: Use strlcpy instead of strncpy to ensure termination (authored by jhb).
nvme: Use strlcpy instead of strncpy to ensure termination
Mon, May 13, 7:04 PM
jhb closed D45153: nvme/f: Use strlcpy instead of strncpy + manual string termination.
Mon, May 13, 7:04 PM
jhb closed D45152: nvme: Use strlcpy instead of strncpy to ensure termination.
Mon, May 13, 7:04 PM
jhb added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Do you have this pushed to a public branch somewhere so I can cherry-pick it directly?

Mon, May 13, 6:57 PM
jhb added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

@ashafer_badland.io, do you need a committer to push this for you?

Mon, May 13, 5:56 PM
jhb accepted D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mon, May 13, 5:04 PM
jhb added inline comments to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mon, May 13, 4:17 PM

Fri, May 10

jhb committed rG473c90ac04ce: uio: Use switch statements when handling UIO_READ vs UIO_WRITE (authored by jhb).
uio: Use switch statements when handling UIO_READ vs UIO_WRITE
Fri, May 10, 8:46 PM
jhb committed rG9e0164087cbf: vm: Change the return types of kernacc and useracc to bool (authored by jhb).
vm: Change the return types of kernacc and useracc to bool
Fri, May 10, 8:46 PM
jhb committed rGf75764fea34a: md: Merge two switch statements in mdstart_vnode (authored by jhb).
md: Merge two switch statements in mdstart_vnode
Fri, May 10, 8:46 PM
jhb closed D45156: vm: Change the return types of kernacc and useracc to bool.
Fri, May 10, 8:45 PM
jhb closed D45142: uio: Use switch statements when handling UIO_READ vs UIO_WRITE.
Fri, May 10, 8:45 PM
jhb closed D45155: md: Merge two switch statements in mdstart_vnode.
Fri, May 10, 8:45 PM
jhb accepted D45157: Increase IOAPIC_MAX_ID to 255 (from 254).
Fri, May 10, 7:38 PM
jhb accepted D45158: madt: print CPU APIC ID as signed int.
Fri, May 10, 7:05 PM
jhb accepted D45157: Increase IOAPIC_MAX_ID to 255 (from 254).

Might want a comment or a detail in the commit log that while the 0xff ID is used for broadcast IPIs for local APICs when not using x2APIC, IPIs aren't sent to I/O APICs, so it's ok for an I/O APIC to reuse that ID. Might also want to note that I/O APIC IDs haven't been meaningful since the 3-wire APIC bus which was last used by systems using Pentium CPUs.

Fri, May 10, 7:03 PM
jhb requested review of D45156: vm: Change the return types of kernacc and useracc to bool.
Fri, May 10, 5:05 PM
jhb requested review of D45155: md: Merge two switch statements in mdstart_vnode.
Fri, May 10, 5:04 PM
jhb added inline comments to D45142: uio: Use switch statements when handling UIO_READ vs UIO_WRITE.
Fri, May 10, 4:58 PM
jhb requested review of D45153: nvme/f: Use strlcpy instead of strncpy + manual string termination.
Fri, May 10, 4:45 PM
jhb requested review of D45152: nvme: Use strlcpy instead of strncpy to ensure termination.
Fri, May 10, 4:45 PM
jhb committed rG50884a0b09a8: nvmf_transport: Remove invalid assertion (authored by jhb).
nvmf_transport: Remove invalid assertion
Fri, May 10, 4:42 PM
jhb committed rG1f83483d7392: ctl_backend_block: Correct value of NVME nsdata nuse field (authored by jhb).
ctl_backend_block: Correct value of NVME nsdata nuse field
Fri, May 10, 4:42 PM
jhb committed rG1662e47d91d1: nvmecontrol: Free the addrinfo list when failing to open a TCP socket (authored by jhb).
nvmecontrol: Free the addrinfo list when failing to open a TCP socket
Fri, May 10, 4:42 PM
jhb committed rG0ac468c7b641: nvmecontrol: Free array of I/O queue pairs on failure to handoff (authored by jhb).
nvmecontrol: Free array of I/O queue pairs on failure to handoff
Fri, May 10, 4:42 PM
jhb committed rGbf1820f187bd: nvmecontrol: Fix a sizeof mismatch (authored by jhb).
nvmecontrol: Fix a sizeof mismatch
Fri, May 10, 4:42 PM
jhb committed rG1f029b86bbe1: nvmf: Use strlcpy instead of strncpy to ensure termination (authored by jhb).
nvmf: Use strlcpy instead of strncpy to ensure termination
Fri, May 10, 4:42 PM
jhb accepted D45143: rtld-elf: Use a proper struct type for tlsdesc entries.
Fri, May 10, 4:25 PM
jhb added a comment to D45142: uio: Use switch statements when handling UIO_READ vs UIO_WRITE.
In D45142#1029592, @jhb wrote:

Drop md.c change

How come?

Fri, May 10, 4:23 PM

Thu, May 9

jhb updated the diff for D45142: uio: Use switch statements when handling UIO_READ vs UIO_WRITE.

Drop md.c change

Thu, May 9, 6:12 PM
jhb requested review of D45142: uio: Use switch statements when handling UIO_READ vs UIO_WRITE.
Thu, May 9, 6:04 PM

Wed, May 8

jhb committed rGebcfab998e63: nvme: Explicitly align struct nvme_command on an 8 byte boundary (authored by jhb).
nvme: Explicitly align struct nvme_command on an 8 byte boundary
Wed, May 8, 11:07 PM

Tue, May 7

jhb committed rG29d7e39f5690: nvme: Bump the alignment of struct nvme_health_information_page to 8 (authored by jhb).
nvme: Bump the alignment of struct nvme_health_information_page to 8
Tue, May 7, 8:54 PM
jhb committed rGc8703409edb7: nvmecontrol: Fix a sign compare mismatch (authored by jhb).
nvmecontrol: Fix a sign compare mismatch
Tue, May 7, 8:54 PM
jhb committed rG766c4ad385cc: libzpool: Disable -Wpointer-to-int-cast warnings for GCC (authored by jhb).
libzpool: Disable -Wpointer-to-int-cast warnings for GCC
Tue, May 7, 8:54 PM
jhb committed rG6ca0468a2f23: libcbor: Ignore errors for unknown #pragmas (authored by jhb).
libcbor: Ignore errors for unknown #pragmas
Tue, May 7, 6:45 PM
jhb added a comment to D45114: libcbor: ignore unknown #pragmas for GCC.

Yeah, if it wasn't contrib'd code I'd hack it directly as well. On IRC yesterday there was some discussion about just removing it as unnecessary, and upstream should probably clean this up, but I think a Makefile hack is cleanest for us. I can push my version with Ed's stamp.

Tue, May 7, 6:44 PM
jhb added a comment to D45114: libcbor: ignore unknown #pragmas for GCC.

I used this patch locally since we have a builtin for this warning in bsd.sys.mk:

Tue, May 7, 4:43 PM
jhb abandoned D35992: wg_noise: Drop atomics for kp_can_send..

I think this is superseded by commit e32e1a160e01a no?

Tue, May 7, 4:40 PM

Mon, May 6

jhb committed rG1d425ef3414c: nvmf: Add explicit alignment for struct nvmf_fabric_cmd (authored by jhb).
nvmf: Add explicit alignment for struct nvmf_fabric_cmd
Mon, May 6, 10:20 PM
jhb committed rGa7db82cfd940: nvmf_tcp: Correct tests for PDU direction (authored by jhb).
nvmf_tcp: Correct tests for PDU direction
Mon, May 6, 9:04 PM
jhb committed rGe75a79f40b9d: nvmf: Remove packing pragmas from nvmf_proto.h (authored by jhb).
nvmf: Remove packing pragmas from nvmf_proto.h
Mon, May 6, 9:04 PM
jhb requested review of D45104: git-arc: Use a helper function to fetch boolean config variables.
Mon, May 6, 6:01 PM
jhb committed rG2f68f6474e41: git-arc: Add list mode support for the update command (authored by jhb).
git-arc: Add list mode support for the update command
Mon, May 6, 5:49 PM
jhb closed D45050: git-arc: Add list mode support for the update command.
Mon, May 6, 5:49 PM
jhb added a comment to D35992: wg_noise: Drop atomics for kp_can_send..

It's not really critical.

Mon, May 6, 5:30 PM
jhb closed D36214: Add a PC_IS_FULL macro to the arm64 pmap.

Supplanted by the two reviews noted earlier.

Mon, May 6, 5:29 PM
jhb added a comment to D36239: wg: Use a mutex to close races around callout scheduling..

Hmm, I had originally written this for markj@ to look at as an alternative to the use of atomics / epoch. I do think this is probably easier to reason about at least. If we did go this route it would probably benefit from a followup to push the locking up a bit so that there is are fewer 'unlock/lock' patterns.

Mon, May 6, 5:24 PM

Fri, May 3

jhb committed rG6faf65670edd: RELNOTES: Document the addition of NVMe over Fabrics support (authored by jhb).
RELNOTES: Document the addition of NVMe over Fabrics support
Fri, May 3, 9:11 PM
jhb committed rG09a931554adf: nvmfdd: A simple userspace NVMe over Fabrics host (authored by jhb).
nvmfdd: A simple userspace NVMe over Fabrics host
Fri, May 3, 12:17 AM
jhb committed rGa8089ea5aee5: nvmfd: A simple userspace daemon for the NVMe over Fabrics controller (authored by jhb).
nvmfd: A simple userspace daemon for the NVMe over Fabrics controller
Fri, May 3, 12:17 AM
jhb committed rGa15f7c96a276: nvmft: The in-kernel NVMe over Fabrics controller (authored by jhb).
nvmft: The in-kernel NVMe over Fabrics controller
Fri, May 3, 12:17 AM
jhb committed rG4f9fa31c5c2c: ctladm: Add nvlist command to list active NVMeoF associations (authored by jhb).
ctladm: Add nvlist command to list active NVMeoF associations
Fri, May 3, 12:17 AM
jhb committed rG17c907dd7acf: ctladm: Add nvterminate command to drop active NVMeoF associations (authored by jhb).
ctladm: Add nvterminate command to drop active NVMeoF associations
Fri, May 3, 12:17 AM
jhb committed rG5fd68977a535: ctladm: Permit creating nvmf ports (authored by jhb).
ctladm: Permit creating nvmf ports
Fri, May 3, 12:17 AM
jhb committed rG51346bd59458: mbuf: Add EXT_CTL for mbufs backed by a CTL backend buffer (authored by jhb).
mbuf: Add EXT_CTL for mbufs backed by a CTL backend buffer
Fri, May 3, 12:17 AM
jhb committed rG25bad5a2dac8: ctl: Add NVMF port type and ioctls (authored by jhb).
ctl: Add NVMF port type and ioctls
Fri, May 3, 12:17 AM
jhb committed rG374f12c52f1b: ctl_backend_block: Add support for NVMe (authored by jhb).
ctl_backend_block: Add support for NVMe
Fri, May 3, 12:17 AM
jhb closed D44730: nvmfdd: A simple userspace NVMe over Fabrics host.
Fri, May 3, 12:17 AM
jhb closed D44731: nvmfd: A simple userspace daemon for the NVMe over Fabrics controller.
Fri, May 3, 12:17 AM
jhb committed rG40a4359064a5: ctl_backend_block: Prepare for NVMe support (authored by jhb).
ctl_backend_block: Prepare for NVMe support
Fri, May 3, 12:17 AM
jhb closed D44726: nvmft: The in-kernel NVMe over Fabrics controller.
Fri, May 3, 12:17 AM
jhb committed rGd5c21c68833d: ctl_backend_ramdisk: Add support for NVMe (authored by jhb).
ctl_backend_ramdisk: Add support for NVMe
Fri, May 3, 12:17 AM
jhb closed D44729: ctladm: Add nvterminate command to drop active NVMeoF associations.
Fri, May 3, 12:17 AM
jhb committed rGccaaee460717: ctl_backend_ramdisk: Prepare for NVMe support (authored by jhb).
ctl_backend_ramdisk: Prepare for NVMe support
Fri, May 3, 12:17 AM
jhb closed D44727: ctladm: Permit creating nvmf ports.
Fri, May 3, 12:17 AM
jhb closed D44728: ctladm: Add nvlist command to list active NVMeoF associations.
Fri, May 3, 12:17 AM
jhb committed rG0c4ee619dff8: ctl: Support for NVMe commands (authored by jhb).
ctl: Support for NVMe commands
Fri, May 3, 12:17 AM
jhb committed rGbef5da8ebf74: ctl: Add helper routines to populate NVMe namespace data IDs for a LUN (authored by jhb).
ctl: Add helper routines to populate NVMe namespace data IDs for a LUN
Fri, May 3, 12:17 AM
jhb closed D44725: mbuf: Add EXT_CTL for mbufs backed by a CTL backend buffer.
Fri, May 3, 12:17 AM
jhb committed rG6f308bcf5724: ctl: Support NVMe requests in debug trace functions (authored by jhb).
ctl: Support NVMe requests in debug trace functions
Fri, May 3, 12:17 AM
jhb committed rGab4b83874a4e: ctl: Update some core data paths to be protocol agnostic (authored by jhb).
ctl: Update some core data paths to be protocol agnostic
Fri, May 3, 12:17 AM
jhb committed rG105333f1d6ee: ctl: Add assertions in SCSI-only paths (authored by jhb).
ctl: Add assertions in SCSI-only paths
Fri, May 3, 12:17 AM
jhb closed D44724: ctl: Add NVMF port type and ioctls.
Fri, May 3, 12:17 AM
jhb committed rG75577946b5a1: ctl: Add helper routines for setting NVMe completion status (authored by jhb).
ctl: Add helper routines for setting NVMe completion status
Fri, May 3, 12:17 AM
jhb closed D44723: ctl_backend_block: Add support for NVMe.
Fri, May 3, 12:17 AM
jhb committed rG59657816b9e8: ctl: Add structure and related constants for NVMe commands (authored by jhb).
ctl: Add structure and related constants for NVMe commands
Fri, May 3, 12:17 AM
jhb closed D44851: ctl_backend_block: Prepare for NVMe support.
Fri, May 3, 12:17 AM
jhb committed rG5e3e4442305d: nvme: Add constants for the Fused Operation (FUSE) field in commands (authored by jhb).
nvme: Add constants for the Fused Operation (FUSE) field in commands
Fri, May 3, 12:17 AM
jhb closed D44722: ctl_backend_ramdisk: Add support for NVMe.
Fri, May 3, 12:16 AM
jhb closed D44849: ctl_backend_ramdisk: Prepare for NVMe support.
Fri, May 3, 12:16 AM
jhb committed rG1058c12197ab: nvmecontrol: New commands to support Fabrics hosts (authored by jhb).
nvmecontrol: New commands to support Fabrics hosts
Fri, May 3, 12:16 AM
jhb closed D44720: ctl: Support for NVMe commands.
Fri, May 3, 12:16 AM
jhb closed D44719: ctl: Support NVMe requests in debug trace functions.
Fri, May 3, 12:16 AM
jhb closed D44721: ctl: Add helper routines to populate NVMe namespace data IDs for a LUN.
Fri, May 3, 12:16 AM
jhb closed D44846: ctl: Update some core data paths to be protocol agnostic.
Fri, May 3, 12:16 AM
jhb committed rGac7a514e20f3: ctl: Add CTL_IO_ASSERT wrapper macro (authored by jhb).
ctl: Add CTL_IO_ASSERT wrapper macro
Fri, May 3, 12:16 AM