ref: 49e569f7f8e35c2e9ab3c714ed2c43e32c8cb592
parent: 57a581b6e55614cfd997b00cf070164bd5544bb9
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Aug 16 14:06:22 EDT 2016
devmnt: fix mistake in mntrahread() mntrahread() had the prefetch window condition wrong so it would very agressively prefetch ignoring the prefetch window.
--- a/sys/src/9/port/devmnt.c
+++ b/sys/src/9/port/devmnt.c
@@ -897,7 +897,7 @@
if(rah->seq >= 2*c->iounit){w = (off / c->iounit) * c->iounit;
e = w + rah->seq;
- for(o = w; w < e; o += c->iounit){+ for(o = w; o < e; o += c->iounit){if(rahfindrpc(rah, o) != nil)
continue;
--
⑨