diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-21 01:02:32 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-21 01:02:32 +0100 |
commit | 1281b234e893b2306dbfef442144b75873f2365c (patch) | |
tree | dc31d901bfe7a3f7f26fa60ab0fb998419e0f2f4 /sys/src/cmd/exportfs/exportfs.h | |
parent | 9c40e15ba8ae000f73c23d89143d6c44b75220fd (diff) |
exportfs: reverting previous changes
getting strange tag mismatches on some machines. needs
to be debugged. until then, reverting the change.
Diffstat (limited to 'sys/src/cmd/exportfs/exportfs.h')
-rw-r--r-- | sys/src/cmd/exportfs/exportfs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/src/cmd/exportfs/exportfs.h b/sys/src/cmd/exportfs/exportfs.h index b3587fab2..77709d0d9 100644 --- a/sys/src/cmd/exportfs/exportfs.h +++ b/sys/src/cmd/exportfs/exportfs.h @@ -15,6 +15,8 @@ typedef struct Qidtab Qidtab; struct Fsrpc { Fsrpc *next; /* freelist */ + uintptr pid; /* Pid of slave process executing the rpc */ + int canint; /* Interrupt gate */ int flushtag; /* Tag on which to reply to flush */ Fcall work; /* Plan 9 incoming Fcall */ uchar buf[]; /* Data buffer */ @@ -51,10 +53,9 @@ struct File struct Proc { - Lock; + uintptr pid; Fsrpc *busy; Proc *next; - int pid; }; struct Qidtab @@ -69,6 +70,7 @@ struct Qidtab enum { + MAXPROC = 50, FHASHSIZE = 64, Fidchunk = 1000, Npsmpt = 32, @@ -126,7 +128,7 @@ void freefile(File*); void slaveopen(Fsrpc*); void slaveread(Fsrpc*); void slavewrite(Fsrpc*); -void blockingslave(Proc*); +void blockingslave(void); void reopen(Fid *f); void noteproc(int, char*); void flushaction(void*, char*); |