svn commit: r293664 - stable/10/sys/dev/nvd

Jim Harris jimharris at FreeBSD.org
Mon Jan 11 17:21:39 UTC 2016


Author: jimharris
Date: Mon Jan 11 17:21:38 2016
New Revision: 293664
URL: https://svnweb.freebsd.org/changeset/base/293664

Log:
  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.

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:20:30 2016	(r293663)
+++ stable/10/sys/dev/nvd/nvd.c	Mon Jan 11 17:21:38 2016	(r293664)
@@ -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


More information about the svn-src-all mailing list