Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 15:55:41 +0000 (UTC)
From:      Jim Harris <jimharris@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r293319 - head/sys/dev/nvd
Message-ID:  <201601071555.u07Ftf4U047028@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jimharris
Date: Thu Jan  7 15:55:41 2016
New Revision: 293319
URL: https://svnweb.freebsd.org/changeset/base/293319

Log:
  nvd: set DISKFLAG_DIRECT_COMPLETION
  
  Submitted by:	gallatin
  MFC after:	3 days

Modified:
  head/sys/dev/nvd/nvd.c

Modified: head/sys/dev/nvd/nvd.c
==============================================================================
--- head/sys/dev/nvd/nvd.c	Thu Jan  7 15:37:17 2016	(r293318)
+++ head/sys/dev/nvd/nvd.c	Thu Jan  7 15:55:41 2016	(r293319)
@@ -287,7 +287,7 @@ nvd_new_disk(struct nvme_namespace *ns, 
 		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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601071555.u07Ftf4U047028>