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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"