freebsd-dev/sys/dev/nvme
Chuck Tuffli 87b3975e36 nda(4) fix check for Dataset Management support
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.

Reported by: yuripv@yuripv.net
Reviewed by: imp, mav, jimharris
Approved by: imp (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D18493
2018-12-13 13:25:37 +00:00
..
nvme_ctrlr_cmd.c Make NVMe compatible with the original API 2018-08-22 04:29:24 +00:00
nvme_ctrlr.c Even though they are reserved, cdw2 and cdw3 can be set via nvme-cli 2018-12-07 21:58:08 +00:00
nvme_ns_cmd.c Make NVMe compatible with the original API 2018-08-22 04:29:24 +00:00
nvme_ns.c nda(4) fix check for Dataset Management support 2018-12-13 13:25:37 +00:00
nvme_private.h Put a workaround in for command timeout malfunctioning 2018-10-26 14:27:37 +00:00
nvme_qpair.c Make NVMe compatible with the original API 2018-08-22 04:29:24 +00:00
nvme_sim.c Refactor NVMe CAM integration. 2018-05-25 03:34:33 +00:00
nvme_sysctl.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_test.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_util.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme.c Remove do-nothing nvme_modevent. 2018-11-16 16:51:44 +00:00
nvme.h nda(4) fix check for Dataset Management support 2018-12-13 13:25:37 +00:00