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)
Oct 21 2024, 12:08 PM
Unknown Object (File)
Oct 3 2024, 8:50 AM
Unknown Object (File)
Oct 2 2024, 11:19 PM
Unknown Object (File)
Sep 29 2024, 11:23 PM
Unknown Object (File)
Sep 27 2024, 9:02 AM
Unknown Object (File)
Sep 27 2024, 7:25 AM
Unknown Object (File)
Sep 26 2024, 12:35 AM
Unknown Object (File)
Sep 19 2024, 4:05 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 21466