aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nvd
diff options
context:
space:
mode:
authorJim Harris <jimharris@FreeBSD.org>2016-01-07 15:57:17 +0000
committerJim Harris <jimharris@FreeBSD.org>2016-01-07 15:57:17 +0000
commit8fe5c0d2867653bb073062361cd954a64798167b (patch)
treeb7de166ebf522bc7541575220111dc1897dba6a6 /sys/dev/nvd
parent454f163b9fcf0e871b35e1d36874d519561f64be (diff)
Notes
Diffstat (limited to 'sys/dev/nvd')
-rw-r--r--sys/dev/nvd/nvd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/nvd/nvd.c b/sys/dev/nvd/nvd.c
index a890686ebc6e3..e6d4c0cb3be19 100644
--- a/sys/dev/nvd/nvd.c
+++ b/sys/dev/nvd/nvd.c
@@ -204,19 +204,6 @@ nvd_bioq_process(void *arg, int pending)
if (bp == NULL)
break;
-#ifdef BIO_ORDERED
- /*
- * BIO_ORDERED flag dictates that all outstanding bios
- * must be completed before processing the bio with
- * BIO_ORDERED flag set.
- */
- if (bp->bio_flags & BIO_ORDERED) {
- while (ndisk->cur_depth > 0) {
- pause("nvd flush", 1);
- }
- }
-#endif
-
bp->bio_driver1 = NULL;
atomic_add_int(&ndisk->cur_depth, 1);