Page MenuHomeFreeBSD

ken (Ken Merry)
User

Projects (2)

User Details

User Since
Jan 23 2015, 10:35 PM (619 w, 1 d)

Recent Activity

Thu, Nov 19

ken added a reviewer for D61768: rpcbind: fix the contact address for UDP requests in mergeaddr(): glebius.
Thu, Nov 19, 6:24 PM
ken added a reviewer for D61768: rpcbind: fix the contact address for UDP requests in mergeaddr(): rmacklem.
Thu, Nov 19, 6:22 PM

Wed, Nov 18

ken committed rG89e585b8a459: pass(4): Don't drop the periph lock before selrecord() in passpoll().
Wed, Nov 18, 7:23 PM
ken committed rGa4abe5fe9a7d: pass(4): Wake select/kqueue waiters when an immediate CCB completes.
Wed, Nov 18, 7:23 PM
ken committed rG5d18a804737e: pass(4): Don't drop the periph lock before selrecord() in passpoll().
Wed, Nov 18, 7:23 PM
ken committed rG21b7a2ff550f: pass(4): Wake select/kqueue waiters when an immediate CCB completes.
Wed, Nov 18, 7:23 PM

Mon, Nov 16

ken committed rG259b3ac4dd08: nvmecontrol: Range-check the format command's field values.
Mon, Nov 16, 9:03 PM
ken committed rGf64d611af8ee: camcontrol: Fix -Wcast-align errors in the NVMe reservation report.
Mon, Nov 16, 9:03 PM
ken committed rG7b1763b4ee6c: nvmecontrol: Mask the fields in the Format NVM command.
Mon, Nov 16, 9:03 PM
ken committed rG2c19cd6aeac0: camcontrol: Don't close the CAM device in nvme_get_data().
Mon, Nov 16, 9:03 PM
ken committed rG9bd048b18ab8: camcontrol: Fix extended host identifier retrieval.
Mon, Nov 16, 9:03 PM
ken committed rG8678bd6e2e50: camcontrol: Fix swapped protection information defaults in nvformat.
Mon, Nov 16, 9:03 PM
ken committed rG0ca07b1df2bc: camcontrol: Require a reservation type for reserve, preempt and release.
Mon, Nov 16, 9:03 PM
ken committed rGbcf4600a0c0b: nvme: Restore the host memory buffer size calculation.
Mon, Nov 16, 9:03 PM
ken committed rG6a901f5e3686: nvme: Fix the data length in the Reservation Report command builder.
Mon, Nov 16, 9:03 PM
ken committed rG94434cd83c02: nvme: Mask the fields in the Format NVM command builder.
Mon, Nov 16, 9:03 PM
ken committed rGff00bbd0e40c: camcontrol: Add a feature subcommand for NVMe Get/Set Features.
Mon, Nov 16, 9:03 PM
ken committed rG7c9cb9ce3d9e: camcontrol: Support NVMe reservations via the persist subcommand.
Mon, Nov 16, 9:03 PM
ken committed rG8af3223a5042: nvme: honor FLBAS Format Index Upper when selecting the LBA format (authored by seuros).
Mon, Nov 16, 9:03 PM
ken committed rG85a683205fb1: nvme: Byte-swap the nsid in the Get/Set Features command builders.
Mon, Nov 16, 9:03 PM
ken committed rGec4b7f6bfc6d: camcontrol: Support NVMe namespace formatting via the format subcommand.
Mon, Nov 16, 9:03 PM
ken committed rGc1e5a1f86587: camcontrol: Add support for NVMe namespace Identify.
Mon, Nov 16, 9:03 PM
ken committed rGd4f728023276: cam: Add NVMe reservation, format and features CCB building functions.
Mon, Nov 16, 9:03 PM
ken committed rG1f7ba14ef4d0: nvmecontrol: Factor out namespace Identify printing.
Mon, Nov 16, 9:03 PM
ken committed rG2ebb10da6a83: nvme: Add reservation, format and features command building support.
Mon, Nov 16, 9:03 PM
ken committed rGe02aae338b1b: nvmecontrol: Range-check the format command's field values.
Mon, Nov 16, 9:02 PM
ken committed rG6cb4db4dfa07: nvmecontrol: Mask the fields in the Format NVM command.
Mon, Nov 16, 9:02 PM
ken committed rG88b41e5eb429: camcontrol: Don't close the CAM device in nvme_get_data().
Mon, Nov 16, 9:02 PM
ken committed rG9fa9eea4896d: camcontrol: Fix extended host identifier retrieval.
Mon, Nov 16, 9:02 PM
ken committed rG8d14946edd56: camcontrol: Require a reservation type for reserve, preempt and release.
Mon, Nov 16, 9:02 PM
ken committed rG97a9a62d0ffe: nvme: Restore the host memory buffer size calculation.
Mon, Nov 16, 9:02 PM
ken committed rGbc7453beb4f5: camcontrol: Fix swapped protection information defaults in nvformat.
Mon, Nov 16, 9:02 PM
ken committed rG78470b4a8068: nvme: Fix the data length in the Reservation Report command builder.
Mon, Nov 16, 9:02 PM
ken committed rGf03c774fb5c4: nvme: Mask the fields in the Format NVM command builder.
Mon, Nov 16, 9:02 PM
ken committed rG263ce2f425e8: camcontrol: Fix -Wcast-align errors in the NVMe reservation report.
Mon, Nov 16, 9:02 PM
ken committed rGffc15b5c86fc: nvme: Byte-swap the nsid in the Get/Set Features command builders.
Mon, Nov 16, 9:02 PM
ken committed rG92f3272677f3: camcontrol: Add a feature subcommand for NVMe Get/Set Features.
Mon, Nov 16, 9:02 PM
ken committed rG11680cb895c3: camcontrol: Support NVMe namespace formatting via the format subcommand.
Mon, Nov 16, 9:02 PM
ken committed rG89c1a891dbb2: camcontrol: Support NVMe reservations via the persist subcommand.
Mon, Nov 16, 9:02 PM
ken committed rGb67a5156bae9: camcontrol: Add support for NVMe namespace Identify.
Mon, Nov 16, 9:01 PM
ken committed rGcc104ce569df: cam: Add NVMe reservation, format and features CCB building functions.
Mon, Nov 16, 9:01 PM
ken committed rG49929370ee9e: nvme: Add reservation, format and features command building support.
Mon, Nov 16, 9:01 PM
ken committed rGcd8549a4fca1: nvmecontrol: Factor out namespace Identify printing.
Mon, Nov 16, 9:01 PM
ken committed rGb5f1ceff6b81: nvme: honor FLBAS Format Index Upper when selecting the LBA format (authored by seuros).
Mon, Nov 16, 9:01 PM

Wed, Nov 11

ken committed rG88c5709e91ad: pass(4): Don't drop the periph lock before selrecord() in passpoll().
Wed, Nov 11, 2:26 PM
ken closed D61416: pass(4): Wake select/kqueue waiters when an immediate CCB completes.
Wed, Nov 11, 1:59 PM
ken committed rG6442a92a7d9c: pass(4): Wake select/kqueue waiters when an immediate CCB completes.
Wed, Nov 11, 1:59 PM

Tue, Nov 10

ken requested review of D61416: pass(4): Wake select/kqueue waiters when an immediate CCB completes.
Tue, Nov 10, 11:01 PM
ken committed rG3d6f886151f9: nvmecontrol: Range-check the format command's field values.
Tue, Nov 10, 9:23 PM
ken closed D61406: nvmecontrol: Range-check the format command's field values.
Tue, Nov 10, 9:23 PM
ken requested review of D61406: nvmecontrol: Range-check the format command's field values.
Tue, Nov 10, 9:12 PM
ken committed rGeae727676169: nvmecontrol: Mask the fields in the Format NVM command.
Tue, Nov 10, 8:05 PM
ken closed D61356: nvmecontrol: Mask the fields in the Format NVM command.
Tue, Nov 10, 8:05 PM
ken updated the diff for D61356: nvmecontrol: Mask the fields in the Format NVM command.

Switch the attribution trailer from Co-authored-by to Assisted-by, per imp.

Tue, Nov 10, 3:26 PM

Mon, Nov 9

ken requested review of D61356: nvmecontrol: Mask the fields in the Format NVM command.
Mon, Nov 9, 7:37 PM
ken committed rGf7c24ef1e9a4: camcontrol: Don't close the CAM device in nvme_get_data().
Mon, Nov 9, 7:14 PM
ken committed rG2dd34affca4d: camcontrol: Fix extended host identifier retrieval.
Mon, Nov 9, 7:14 PM
ken committed rGb95e2b2ce907: camcontrol: Require a reservation type for reserve, preempt and release.
Mon, Nov 9, 7:14 PM
ken committed rGef69484b4295: camcontrol: Fix swapped protection information defaults in nvformat.
Mon, Nov 9, 7:14 PM
ken committed rGf262bdcf24f1: nvme: Restore the host memory buffer size calculation.
Mon, Nov 9, 7:14 PM
ken committed rG86b9d629c68f: nvme: Fix the data length in the Reservation Report command builder.
Mon, Nov 9, 7:14 PM
ken committed rG3892a6453fc6: nvme: Mask the fields in the Format NVM command builder.
Mon, Nov 9, 7:14 PM
ken committed rG3a6dbe77c39d: nvme: Byte-swap the nsid in the Get/Set Features command builders.
Mon, Nov 9, 7:14 PM

Sat, Nov 7

ken committed rG68ba58a064d1: camcontrol: Fix -Wcast-align errors in the NVMe reservation report.
Sat, Nov 7, 3:36 AM
ken added a comment to D61277: camdd: Fix the worker startup race.

Thank you for the fix! Committed to head.

Sat, Nov 7, 1:21 AM
ken closed D61277: camdd: Fix the worker startup race.
Sat, Nov 7, 1:20 AM
ken committed rGc17aa0984de8: camdd: Fix the worker startup race (authored by hayzam).
Sat, Nov 7, 1:20 AM
ken accepted D61277: camdd: Fix the worker startup race.
Sat, Nov 7, 1:18 AM
ken closed D59536: camcontrol: Add a feature subcommand for NVMe Get/Set Features.
Sat, Nov 7, 1:07 AM
ken committed rG6eae951cd51b: camcontrol: Add a feature subcommand for NVMe Get/Set Features.
Sat, Nov 7, 1:07 AM
ken closed D59535: camcontrol: Support NVMe namespace formatting via the format subcommand.
Sat, Nov 7, 1:07 AM
ken committed rG80f090111ae4: camcontrol: Support NVMe namespace formatting via the format subcommand.
Sat, Nov 7, 1:07 AM
ken committed rGba75cf05727e: camcontrol: Support NVMe reservations via the persist subcommand.
Sat, Nov 7, 1:07 AM
ken closed D59534: camcontrol: Support NVMe reservations via the persist subcommand.
Sat, Nov 7, 1:07 AM
ken closed D59533: camcontrol: Add support for NVMe namespace Identify.
Sat, Nov 7, 1:07 AM
ken committed rG961fa195b348: camcontrol: Add support for NVMe namespace Identify.
Sat, Nov 7, 1:07 AM
ken committed rG9814633f631b: cam: Add NVMe reservation, format and features CCB building functions.
Sat, Nov 7, 1:07 AM
ken closed D59532: cam: Add NVMe reservation, format and features CCB building functions.
Sat, Nov 7, 1:07 AM
ken committed rG7a9e4375316b: nvme: Add reservation, format and features command building support.
Sat, Nov 7, 1:06 AM
ken closed D59531: nvme: Add reservation, format and features command building support.
Sat, Nov 7, 1:06 AM
ken committed rG46198fba6dff: nvmecontrol: Factor out namespace Identify printing.
Sat, Nov 7, 1:06 AM
ken closed D59530: nvmecontrol: Factor out namespace Identify printing.
Sat, Nov 7, 1:06 AM

Oct 21 2026

ken added a comment to D59533: camcontrol: Add support for NVMe namespace Identify.

This is now the only revision in the series without an accept -- anything still open here? The man page question above was answered with the D15371 precedent (the controller identify already works this way), and the wording changes are in the current diff.

Oct 21 2026, 9:28 PM

Oct 20 2026

ken updated the diff for D59531: nvme: Add reservation, format and features command building support.

Rebase on current head: re-anchor the nvme.h additions around the new Timestamp feature definitions (e8a7efd9), and update the new Timestamp set_feature call for the widened nvme_ctrlr_cmd_set_feature() signature. No content changes to the additions themselves.

Oct 20 2026, 9:14 PM

Oct 15 2026

ken updated the summary of D60366: pci: stop the capability walk spinning on an unreachable device.
Oct 15 2026, 8:41 PM
ken added a comment to D60366: pci: stop the capability walk spinning on an unreachable device.

(Fixing text dropped from the previous comment: the timed command was time sysctl -a > /dev/null.)

Oct 15 2026, 8:39 PM
ken added a comment to D60366: pci: stop the capability walk spinning on an unreachable device.

The fix has now been verified on the hardware that originally hit this. On a patched kernel, an NVMe boot-mirror member was force-detached (devctl disable -f on the nvme device), leaving the dead PCI function behind, and completed in 0.068 seconds. On an unpatched kernel the same state spins pci_find_cap_method() for tens of minutes via the dev.nvme.N.%iommu sysctl, with the stack shown in the summary.

Oct 15 2026, 8:38 PM
ken updated the diff for D60366: pci: stop the capability walk spinning on an unreachable device.

Trim the comments per review feedback: drop the explanation of all-ones config reads.

Oct 15 2026, 8:30 PM

Oct 6 2026

ken added a comment to D60414: nvme: Add ZNS support (WIP).

The nvd(4) change here is the opposite of expanding it -- it just makes nvd decline to attach to zoned namespaces, so zoned support is nda(4)-only. So this already matches what you are suggesting, and it answers one of the doubts voidanix flagged in the WIP note.

Oct 6 2026, 6:28 PM
ken added reviewers for D60414: nvme: Add ZNS support (WIP): asomers, fuz.
Oct 6 2026, 5:51 PM
ken requested review of D60414: nvme: Add ZNS support (WIP).
Oct 6 2026, 5:50 PM

Oct 5 2026

ken requested review of D60366: pci: stop the capability walk spinning on an unreachable device.
Oct 5 2026, 2:49 PM

Sep 29 2026

ken updated the diff for D59535: camcontrol: Support NVMe namespace formatting via the format subcommand.

Use the new nvme_ns_data_format_index() from D59627 to determine the current LBA format instead of open-coding the FLBAS extraction, so drives with more than 16 LBA formats get the right default.

Sep 29 2026, 9:11 PM
ken updated the diff for D59531: nvme: Add reservation, format and features command building support.

Rebase on current head: re-anchor the nvme.h additions around the new nvme_ns_data_format_index() helper from D59627. No content changes to the additions themselves.

Sep 29 2026, 9:11 PM
ken updated the diff for D59530: nvmecontrol: Factor out namespace Identify printing.

Rebase on current head. The moved nvme_print_namespace() now carries the FLBAS Format Index Upper fix from D59627 (2c41f7d8), which landed inside print_namespace() after this review was created.

Sep 29 2026, 9:11 PM
ken updated the diff for D59536: camcontrol: Add a feature subcommand for NVMe Get/Set Features.

Rework per the naming discussion: rename the subcommand from nvfeature to feature. SCSI has no feature command and the ATA SET FEATURES subcommands already have dedicated camcontrol subcommands (apm, aam, epc), so the name is unclaimed; the subcommand errors cleanly on non-NVMe devices. Also fix a being/bing typo in the man page.

Sep 29 2026, 6:49 PM
ken updated the diff for D59535: camcontrol: Support NVMe namespace formatting via the format subcommand.

Rework per the naming discussion: fold NVMe format support into the existing format subcommand (protocol dispatch like identify/persist) and retire nvformat. The NVMe path gains the same are-you-sure confirmation the SCSI path has (-q/-y honored); -r is rejected for NVMe and -w is a no-op since the NVMe format command does not return until the format completes. Tested on hardware: confirmation prompt and abort verified, no formats actually issued.

Sep 29 2026, 6:49 PM

Sep 28 2026

ken updated the diff for D59536: camcontrol: Add a feature subcommand for NVMe Get/Set Features.

Address review feedback: error out instead of crashing when -a or -f is missing, and zero the hostid set buffer and only transfer 8 bytes for the non-extended host identifier.

Sep 28 2026, 7:34 PM
ken updated the diff for D59535: camcontrol: Support NVMe namespace formatting via the format subcommand.

Fix the crypto secure-erase setting to actually map to NVME_FORMAT_SES_CRYPTO (it wrongly mapped to a user data erase), and make the default timeout depend on the erase type: 30 seconds for crypto erase, 30 minutes otherwise. -T still overrides.

Sep 28 2026, 7:34 PM
ken updated the diff for D59534: camcontrol: Support NVMe reservations via the persist subcommand.

Constrain the number of reservation report entries printed to what fits in the data buffer, per review feedback.

Sep 28 2026, 7:34 PM