diff options
author | cem <cem@FreeBSD.org> | 2016-02-13 22:51:17 +0000 |
---|---|---|
committer | cem <cem@FreeBSD.org> | 2016-02-13 22:51:17 +0000 |
commit | 0784d59f3ad5c231751ea561da1d3b7d962e10b6 (patch) | |
tree | 2bdfb49f3e3f55e7fc1d8ae4ded11b9bfc6f71c9 /sys/dev | |
parent | 558491d7a70d9fcc2d4f523aaf4b2c1ab8881baf (diff) | |
download | FreeBSD-src-0784d59f3ad5c231751ea561da1d3b7d962e10b6.zip FreeBSD-src-0784d59f3ad5c231751ea561da1d3b7d962e10b6.tar.gz |
ioat(4): Also check for errors if the channel is suspended
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ioat/ioat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c index 3215c6f..74de8ba 100644 --- a/sys/dev/ioat/ioat.c +++ b/sys/dev/ioat/ioat.c @@ -672,7 +672,7 @@ out: wakeup(&ioat->tail); } - if (!is_ioat_halted(comp_update)) + if (!is_ioat_halted(comp_update) && !is_ioat_suspended(comp_update)) return; ioat->stats.channel_halts++; |