diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-11-01 18:57:11 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-11-01 18:57:11 +0100 |
commit | 413977c19bb65fb1b704d58ae9a59cdf64179c84 (patch) | |
tree | 43159f5a41cb1ed5cda9ac9ab93bd60d2ec49364 /sys/src/cmd/rio/rio.c | |
parent | f87baec1d0369764b761e8ca26a910e982123453 (diff) |
rio: properly handle follow up flushes (fixes unexpected reply tag)
when multiple flushes are send, they need to be replied
in order. we ensure this by having the flush xfid taking
over the flushtag (synchronized with a new fs->csyncflush
channel) so the next flush will flush the previous flush.
Diffstat (limited to 'sys/src/cmd/rio/rio.c')
-rw-r--r-- | sys/src/cmd/rio/rio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c index c65af8891..e6537283f 100644 --- a/sys/src/cmd/rio/rio.c +++ b/sys/src/cmd/rio/rio.c @@ -156,6 +156,11 @@ threadmain(int argc, char *argv[]) case 's': scrolling = TRUE; break; + case 'D': + debug++; + break; + default: + usage(); }ARGEND if(getwd(buf, sizeof buf) == nil) |