mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Do not look at the namespace's thin provisioning field to determine if DSM
command is supported. The two are not related. Sponsored by: Intel
This commit is contained in:
parent
3fc10b7363
commit
51a9feb9b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248729
@ -339,7 +339,7 @@ nvme_ns_construct(struct nvme_namespace *ns, uint16_t id,
|
||||
}
|
||||
#endif
|
||||
|
||||
if (ctrlr->cdata.oncs.dsm && ns->data.nsfeat.thin_prov)
|
||||
if (ctrlr->cdata.oncs.dsm)
|
||||
ns->flags |= NVME_NS_DEALLOCATE_SUPPORTED;
|
||||
|
||||
if (ctrlr->cdata.vwc.present)
|
||||
|
Loading…
Reference in New Issue
Block a user