diff options
author | jimharris <jimharris@FreeBSD.org> | 2016-01-11 17:20:30 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2016-01-11 17:20:30 +0000 |
commit | 5c319e733f7057fd05e08d489e23bf22f95fc1e1 (patch) | |
tree | 055108642b53538b07e430d1b1c9e2bac1c04214 /sys/dev/nvd/nvd.c | |
parent | 6e9e265991d290ebc0da94e2605150bffdaca684 (diff) | |
download | FreeBSD-src-5c319e733f7057fd05e08d489e23bf22f95fc1e1.zip FreeBSD-src-5c319e733f7057fd05e08d489e23bf22f95fc1e1.tar.gz |
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.
Diffstat (limited to 'sys/dev/nvd/nvd.c')
-rw-r--r-- | sys/dev/nvd/nvd.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/nvd/nvd.c b/sys/dev/nvd/nvd.c index 69f02ee..58ca69f 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); |