Date: Thu, 7 Jan 2016 15:57:18 +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: r293320 - head/sys/dev/nvd Message-ID: <201601071557.u07FvIMT047120@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jimharris Date: Thu Jan 7 15:57:17 2016 New Revision: 293320 URL: https://svnweb.freebsd.org/changeset/base/293320 Log: 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. MFC after: 3 days Sponsored by: Intel Modified: head/sys/dev/nvd/nvd.c Modified: head/sys/dev/nvd/nvd.c ============================================================================== --- head/sys/dev/nvd/nvd.c Thu Jan 7 15:55:41 2016 (r293319) +++ head/sys/dev/nvd/nvd.c Thu Jan 7 15:57:17 2016 (r293320) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601071557.u07FvIMT047120>