Documentation ¶
Index ¶
- Constants
- func Ls3(dip *inode.Inode, op *fstxn.FsTxn, start nfstypes.Cookie3, ...) nfstypes.Dirlistplus3
- func Parallel(nthread int, disksz uint64, ...) int
- func Readdir3(dip *inode.Inode, op *fstxn.FsTxn, start nfstypes.Cookie3, ...) nfstypes.Dirlist3
- type Nfs
- func (nfs *Nfs) Crash()
- func (nfs *Nfs) MOUNTPROC3_DUMP() nfstypes.Mountopt3
- func (nfs *Nfs) MOUNTPROC3_EXPORT() nfstypes.Exportsopt3
- func (nfs *Nfs) MOUNTPROC3_MNT(args nfstypes.Dirpath3) nfstypes.Mountres3
- func (nfs *Nfs) MOUNTPROC3_NULL()
- func (nfs *Nfs) MOUNTPROC3_UMNT(args nfstypes.Dirpath3)
- func (nfs *Nfs) MOUNTPROC3_UMNTALL()
- func (nfs *Nfs) NFSPROC3_ACCESS(args nfstypes.ACCESS3args) nfstypes.ACCESS3res
- func (nfs *Nfs) NFSPROC3_COMMIT(args nfstypes.COMMIT3args) nfstypes.COMMIT3res
- func (nfs *Nfs) NFSPROC3_CREATE(args nfstypes.CREATE3args) nfstypes.CREATE3res
- func (nfs *Nfs) NFSPROC3_FSINFO(args nfstypes.FSINFO3args) nfstypes.FSINFO3res
- func (nfs *Nfs) NFSPROC3_FSSTAT(args nfstypes.FSSTAT3args) nfstypes.FSSTAT3res
- func (nfs *Nfs) NFSPROC3_GETATTR(args nfstypes.GETATTR3args) nfstypes.GETATTR3res
- func (nfs *Nfs) NFSPROC3_LINK(args nfstypes.LINK3args) nfstypes.LINK3res
- func (nfs *Nfs) NFSPROC3_LOOKUP(args nfstypes.LOOKUP3args) nfstypes.LOOKUP3res
- func (nfs *Nfs) NFSPROC3_MKDIR(args nfstypes.MKDIR3args) nfstypes.MKDIR3res
- func (nfs *Nfs) NFSPROC3_MKNOD(args nfstypes.MKNOD3args) nfstypes.MKNOD3res
- func (nfs *Nfs) NFSPROC3_NULL()
- func (nfs *Nfs) NFSPROC3_PATHCONF(args nfstypes.PATHCONF3args) nfstypes.PATHCONF3res
- func (nfs *Nfs) NFSPROC3_READ(args nfstypes.READ3args) nfstypes.READ3res
- func (nfs *Nfs) NFSPROC3_READDIR(args nfstypes.READDIR3args) nfstypes.READDIR3res
- func (nfs *Nfs) NFSPROC3_READDIRPLUS(args nfstypes.READDIRPLUS3args) nfstypes.READDIRPLUS3res
- func (nfs *Nfs) NFSPROC3_READLINK(args nfstypes.READLINK3args) nfstypes.READLINK3res
- func (nfs *Nfs) NFSPROC3_REMOVE(args nfstypes.REMOVE3args) nfstypes.REMOVE3res
- func (nfs *Nfs) NFSPROC3_RENAME(args nfstypes.RENAME3args) nfstypes.RENAME3res
- func (nfs *Nfs) NFSPROC3_RMDIR(args nfstypes.RMDIR3args) nfstypes.RMDIR3res
- func (nfs *Nfs) NFSPROC3_SETATTR(args nfstypes.SETATTR3args) nfstypes.SETATTR3res
- func (nfs *Nfs) NFSPROC3_SYMLINK(args nfstypes.SYMLINK3args) nfstypes.SYMLINK3res
- func (nfs *Nfs) NFSPROC3_WRITE(args nfstypes.WRITE3args) nfstypes.WRITE3res
- func (nfs *Nfs) ResetOpStats()
- func (nfs *Nfs) ShutdownNfs()
- func (nfs *Nfs) WriteOpStats(w io.Writer)
- type NfsClient
- func (clnt *NfsClient) CommitOp(fh nfstypes.Nfs_fh3, cnt uint64) *nfstypes.COMMIT3res
- func (clnt *NfsClient) Crash()
- func (clnt *NfsClient) CreateOp(fh nfstypes.Nfs_fh3, name string) nfstypes.CREATE3res
- func (clnt *NfsClient) GetattrOp(fh nfstypes.Nfs_fh3) *nfstypes.GETATTR3res
- func (clnt *NfsClient) LookupOp(fh nfstypes.Nfs_fh3, name string) *nfstypes.LOOKUP3res
- func (clnt *NfsClient) MkDirOp(dir nfstypes.Nfs_fh3, name string) nfstypes.MKDIR3res
- func (clnt *NfsClient) ReadDirPlusOp(dir nfstypes.Nfs_fh3, cnt uint64) nfstypes.READDIRPLUS3res
- func (clnt *NfsClient) ReadLinkOp(fh nfstypes.Nfs_fh3) nfstypes.READLINK3res
- func (clnt *NfsClient) ReadOp(fh nfstypes.Nfs_fh3, off uint64, sz uint64) *nfstypes.READ3res
- func (clnt *NfsClient) RemoveOp(dir nfstypes.Nfs_fh3, name string) nfstypes.REMOVE3res
- func (clnt *NfsClient) RenameOp(fhfrom nfstypes.Nfs_fh3, from string, fhto nfstypes.Nfs_fh3, to string) nfstypes.Nfsstat3
- func (clnt *NfsClient) RmDirOp(dir nfstypes.Nfs_fh3, name string) nfstypes.RMDIR3res
- func (clnt *NfsClient) SetattrOp(fh nfstypes.Nfs_fh3, sz uint64) nfstypes.SETATTR3res
- func (clnt *NfsClient) Shutdown()
- func (clnt *NfsClient) SymLinkOp(dir nfstypes.Nfs_fh3, name string, path nfstypes.Nfspath3) nfstypes.SYMLINK3res
- func (clnt *NfsClient) WriteOp(fh nfstypes.Nfs_fh3, off uint64, data []byte, how nfstypes.Stable_how) *nfstypes.WRITE3res
Constants ¶
View Source
const NUM_NFS_OPS = 22
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Nfs ¶
type Nfs struct { // support unstable writes Unstable bool // contains filtered or unexported fields }
func (*Nfs) MOUNTPROC3_DUMP ¶
func (*Nfs) MOUNTPROC3_EXPORT ¶
func (nfs *Nfs) MOUNTPROC3_EXPORT() nfstypes.Exportsopt3
func (*Nfs) MOUNTPROC3_MNT ¶
func (*Nfs) MOUNTPROC3_NULL ¶
func (nfs *Nfs) MOUNTPROC3_NULL()
func (*Nfs) MOUNTPROC3_UMNT ¶
func (*Nfs) MOUNTPROC3_UMNTALL ¶
func (nfs *Nfs) MOUNTPROC3_UMNTALL()
func (*Nfs) NFSPROC3_ACCESS ¶
func (nfs *Nfs) NFSPROC3_ACCESS(args nfstypes.ACCESS3args) nfstypes.ACCESS3res
func (*Nfs) NFSPROC3_COMMIT ¶
func (nfs *Nfs) NFSPROC3_COMMIT(args nfstypes.COMMIT3args) nfstypes.COMMIT3res
RFC: forces or flushes data to stable storage that was previously written with a WRITE procedure call with the stable field set to UNSTABLE.
func (*Nfs) NFSPROC3_CREATE ¶
func (nfs *Nfs) NFSPROC3_CREATE(args nfstypes.CREATE3args) nfstypes.CREATE3res
func (*Nfs) NFSPROC3_FSINFO ¶
func (nfs *Nfs) NFSPROC3_FSINFO(args nfstypes.FSINFO3args) nfstypes.FSINFO3res
func (*Nfs) NFSPROC3_FSSTAT ¶
func (nfs *Nfs) NFSPROC3_FSSTAT(args nfstypes.FSSTAT3args) nfstypes.FSSTAT3res
func (*Nfs) NFSPROC3_GETATTR ¶
func (nfs *Nfs) NFSPROC3_GETATTR(args nfstypes.GETATTR3args) nfstypes.GETATTR3res
func (*Nfs) NFSPROC3_LINK ¶
func (*Nfs) NFSPROC3_LOOKUP ¶
func (nfs *Nfs) NFSPROC3_LOOKUP(args nfstypes.LOOKUP3args) nfstypes.LOOKUP3res
Lookup must lock child inode to find gen number
func (*Nfs) NFSPROC3_MKDIR ¶
func (nfs *Nfs) NFSPROC3_MKDIR(args nfstypes.MKDIR3args) nfstypes.MKDIR3res
func (*Nfs) NFSPROC3_MKNOD ¶
func (nfs *Nfs) NFSPROC3_MKNOD(args nfstypes.MKNOD3args) nfstypes.MKNOD3res
func (*Nfs) NFSPROC3_NULL ¶
func (nfs *Nfs) NFSPROC3_NULL()
func (*Nfs) NFSPROC3_PATHCONF ¶
func (nfs *Nfs) NFSPROC3_PATHCONF(args nfstypes.PATHCONF3args) nfstypes.PATHCONF3res
func (*Nfs) NFSPROC3_READ ¶
func (*Nfs) NFSPROC3_READDIR ¶
func (nfs *Nfs) NFSPROC3_READDIR(args nfstypes.READDIR3args) nfstypes.READDIR3res
func (*Nfs) NFSPROC3_READDIRPLUS ¶
func (nfs *Nfs) NFSPROC3_READDIRPLUS(args nfstypes.READDIRPLUS3args) nfstypes.READDIRPLUS3res
func (*Nfs) NFSPROC3_READLINK ¶
func (nfs *Nfs) NFSPROC3_READLINK(args nfstypes.READLINK3args) nfstypes.READLINK3res
func (*Nfs) NFSPROC3_REMOVE ¶
func (nfs *Nfs) NFSPROC3_REMOVE(args nfstypes.REMOVE3args) nfstypes.REMOVE3res
func (*Nfs) NFSPROC3_RENAME ¶
func (nfs *Nfs) NFSPROC3_RENAME(args nfstypes.RENAME3args) nfstypes.RENAME3res
func (*Nfs) NFSPROC3_RMDIR ¶
func (nfs *Nfs) NFSPROC3_RMDIR(args nfstypes.RMDIR3args) nfstypes.RMDIR3res
func (*Nfs) NFSPROC3_SETATTR ¶
func (nfs *Nfs) NFSPROC3_SETATTR(args nfstypes.SETATTR3args) nfstypes.SETATTR3res
func (*Nfs) NFSPROC3_SYMLINK ¶
func (nfs *Nfs) NFSPROC3_SYMLINK(args nfstypes.SYMLINK3args) nfstypes.SYMLINK3res
func (*Nfs) NFSPROC3_WRITE ¶
func (nfs *Nfs) NFSPROC3_WRITE(args nfstypes.WRITE3args) nfstypes.WRITE3res
XXX Mtime
func (*Nfs) ResetOpStats ¶ added in v0.6.1
func (nfs *Nfs) ResetOpStats()
func (*Nfs) ShutdownNfs ¶
func (nfs *Nfs) ShutdownNfs()
func (*Nfs) WriteOpStats ¶
type NfsClient ¶
type NfsClient struct {
// contains filtered or unexported fields
}
func MkNfsClient ¶
func (*NfsClient) GetattrOp ¶
func (clnt *NfsClient) GetattrOp(fh nfstypes.Nfs_fh3) *nfstypes.GETATTR3res
func (*NfsClient) ReadDirPlusOp ¶
func (*NfsClient) ReadLinkOp ¶
func (clnt *NfsClient) ReadLinkOp(fh nfstypes.Nfs_fh3) nfstypes.READLINK3res
Source Files ¶
Click to show internal directories.
Click to hide internal directories.