Page MenuHomeFreeBSD

Check if NVMe Controller supports Dataset Management in nda(4)
ClosedPublic

Authored by chuck on Dec 10 2018, 12:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 18, 5:23 AM
Unknown Object (File)
Dec 15 2025, 3:30 PM
Unknown Object (File)
Dec 13 2025, 11:16 AM
Unknown Object (File)
Dec 7 2025, 6:39 PM
Unknown Object (File)
Dec 1 2025, 2:54 AM
Unknown Object (File)
Nov 30 2025, 11:06 AM
Unknown Object (File)
Nov 30 2025, 6:10 AM
Unknown Object (File)
Nov 28 2025, 1:45 AM
Subscribers
None

Details

Summary

In the nda(4) driver, only set DISKFLAG_CANDELETE (a.k.a. can support BIO_DELETE) if the drive supports Dataset Management. There are reports that without this check, VMWare Workstation does not work reliably.

Fix is to check the ONCS field in the NVMe Controller Data structure for support. This check previously existed but did not survive the big-endian changes.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable