This commit is contained in:
rsc 2005-07-13 10:46:26 +00:00
parent 3844a3d978
commit 7e6f40b26d
2 changed files with 10 additions and 8 deletions

View file

@ -281,7 +281,7 @@ enum
struct VtFcall struct VtFcall
{ {
uchar type; uchar msgtype;
uchar tag; uchar tag;
char *error; /* Rerror */ char *error; /* Rerror */
@ -299,7 +299,7 @@ struct VtFcall
uchar *auth; /* TauthX, RauthX */ uchar *auth; /* TauthX, RauthX */
uint nauth; /* TauthX, RauthX */ uint nauth; /* TauthX, RauthX */
uchar score[VtScoreSize]; /* Tread, Rwrite */ uchar score[VtScoreSize]; /* Tread, Rwrite */
uchar dtype; /* Tread, Twrite */ uchar blocktype; /* Tread, Twrite */
ushort count; /* Tread */ ushort count; /* Tread */
Packet *data; /* Rread, Twrite */ Packet *data; /* Rread, Twrite */
}; };
@ -411,9 +411,6 @@ struct VtBlock
u32int used; u32int used;
u32int used2; u32int used2;
u32int addr; u32int addr;
/* internal to efile (HACK) */
int decrypted;
}; };
u32int vtglobaltolocal(uchar[VtScoreSize]); u32int vtglobaltolocal(uchar[VtScoreSize]);
@ -460,7 +457,6 @@ enum
VtOREAD, VtOREAD,
VtOWRITE, VtOWRITE,
VtORDWR, VtORDWR,
VtOCREATE = 0x100,
}; };
VtFile *vtfileopenroot(VtCache*, VtEntry*); VtFile *vtfileopenroot(VtCache*, VtEntry*);
@ -481,7 +477,7 @@ int vtfilesetdirsize(VtFile*, u32int);
void vtfileunlock(VtFile*); void vtfileunlock(VtFile*);
int vtfilelock(VtFile*, int); int vtfilelock(VtFile*, int);
int vtfilelock2(VtFile*, VtFile*, int); int vtfilelock2(VtFile*, VtFile*, int);
int vtfileflushbefore(VtFile*, u64int); int vtfileflushbefore(VtFile*, uvlong);
int vtfiletruncate(VtFile*); int vtfiletruncate(VtFile*);
uvlong vtfilegetsize(VtFile*); uvlong vtfilegetsize(VtFile*);
int vtfilesetsize(VtFile*, uvlong); int vtfilesetsize(VtFile*, uvlong);

View file

@ -436,4 +436,10 @@ upon receiving the
message, the server terminates up the connection. message, the server terminates up the connection.
.SH SEE ALSO .SH SEE ALSO
.IR venti (1), .IR venti (1),
.IR venti (3) .IR venti (3),
.IR venti (8)
.br
Sean Quinlan and Sean Dorward,
``Venti: a new approach to archival storage'',
.I "Usenix Conference on File and Storage Technologies" ,
2002.