Date: Mon, 11 Jan 2016 17:21:38 +0000 (UTC) From: Jim Harris <jimharris@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r293664 - stable/10/sys/dev/nvd Message-ID: <201601111721.u0BHLcCR029535@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601111721.u0BHLcCR029535>