summaryrefslogtreecommitdiffstats
path: root/sys/dev/nvd/nvd.c
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2016-01-11 17:19:11 +0000
committerjimharris <jimharris@FreeBSD.org>2016-01-11 17:19:11 +0000
commit6e9e265991d290ebc0da94e2605150bffdaca684 (patch)
tree68461a26ecda49a563ce499b9aa52606ad9d0574 /sys/dev/nvd/nvd.c
parent617c4d1412e41c0a296a0f888f2354ac6805a892 (diff)
downloadFreeBSD-src-6e9e265991d290ebc0da94e2605150bffdaca684.zip
FreeBSD-src-6e9e265991d290ebc0da94e2605150bffdaca684.tar.gz
MFC r293319:
nvd: set DISKFLAG_DIRECT_COMPLETION
Diffstat (limited to 'sys/dev/nvd/nvd.c')
-rw-r--r--sys/dev/nvd/nvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nvd/nvd.c b/sys/dev/nvd/nvd.c
index 5d75876..69f02ee 100644
--- a/sys/dev/nvd/nvd.c
+++ b/sys/dev/nvd/nvd.c
@@ -287,7 +287,7 @@ nvd_new_disk(struct nvme_namespace *ns, void *ctrlr_arg)
disk->d_unit =
TAILQ_LAST(&disk_head, disk_list)->disk->d_unit + 1;
- disk->d_flags = 0;
+ disk->d_flags = DISKFLAG_DIRECT_COMPLETION;
if (nvme_ns_get_flags(ns) & NVME_NS_DEALLOCATE_SUPPORTED)
disk->d_flags |= DISKFLAG_CANDELETE;
OpenPOWER on IntegriCloud