diff options
author | jimharris <jimharris@FreeBSD.org> | 2016-01-11 17:21:38 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2016-01-11 17:21:38 +0000 |
commit | 2680e52f64cfc376f6a61e121e31859fe0d2014f (patch) | |
tree | f85d9b396b77b7d198a37deef979157cd0c09bb8 | |
parent | 5c319e733f7057fd05e08d489e23bf22f95fc1e1 (diff) | |
download | FreeBSD-src-2680e52f64cfc376f6a61e121e31859fe0d2014f.zip FreeBSD-src-2680e52f64cfc376f6a61e121e31859fe0d2014f.tar.gz |
MFC r293321:
nvd: skip BIO_ORDERED logic when bio fails submission
This ensures the bio flags are not read after biodone().
The ordering will still be enforced, after the bio is
submitted successfully.
-rw-r--r-- | sys/dev/nvd/nvd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nvd/nvd.c b/sys/dev/nvd/nvd.c index 58ca69f..d282ec8 100644 --- a/sys/dev/nvd/nvd.c +++ b/sys/dev/nvd/nvd.c @@ -215,6 +215,7 @@ nvd_bioq_process(void *arg, int pending) bp->bio_flags |= BIO_ERROR; bp->bio_resid = bp->bio_bcount; biodone(bp); + continue; } #ifdef BIO_ORDERED |