svn commit: r293663 - stable/10/sys/dev/nvd
Jim Harris
jimharris at FreeBSD.org
Mon Jan 11 17:20:31 UTC 2016
Author: jimharris
Date: Mon Jan 11 17:20:30 2016
New Revision: 293663
URL: https://svnweb.freebsd.org/changeset/base/293663
Log:
MFC r293320:
nvd: do not wait for previous bios before submitting ordered bio
Still wait until all in-flight bios (including the ordered bio)
complete before processing more bios from the queue.
Modified:
stable/10/sys/dev/nvd/nvd.c
Modified: stable/10/sys/dev/nvd/nvd.c
==============================================================================
--- stable/10/sys/dev/nvd/nvd.c Mon Jan 11 17:19:11 2016 (r293662)
+++ stable/10/sys/dev/nvd/nvd.c Mon Jan 11 17:20:30 2016 (r293663)
@@ -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);
More information about the svn-src-stable
mailing list