User Details
- User Since
- Jan 23 2015, 10:35 PM (619 w, 1 d)
Thu, Nov 19
Wed, Nov 18
Mon, Nov 16
Wed, Nov 11
Tue, Nov 10
Switch the attribution trailer from Co-authored-by to Assisted-by, per imp.
Mon, Nov 9
Sat, Nov 7
Thank you for the fix! Committed to head.
Oct 21 2026
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 20 2026
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 15 2026
(Fixing text dropped from the previous comment: the timed command was time sysctl -a > /dev/null.)
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.
Trim the comments per review feedback: drop the explanation of all-ones config reads.
Oct 6 2026
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 5 2026
Sep 29 2026
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.
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.
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.
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 28 2026
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.
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.
Constrain the number of reservation report entries printed to what fits in the data buffer, per review feedback.
