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)
Thu, Mar 28, 7:45 AM
Unknown Object (File)
Jan 19 2024, 9:51 AM
Unknown Object (File)
Dec 20 2023, 1:04 AM
Unknown Object (File)
Nov 17 2023, 2:28 PM
Unknown Object (File)
Oct 22 2023, 4:13 PM
Unknown Object (File)
Oct 11 2023, 3:59 AM
Unknown Object (File)
Oct 11 2023, 3:59 AM
Unknown Object (File)
Oct 10 2023, 5:32 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