public class StackFS extends AbstractFuseFileSystem
Stack FS mounts a local filesystem path to another local filesystem path. All the operations target the Stack FS mount point will be directly trigger on the local filesystem mounted path without complex added logics.
This class is mainly added for testing purposes to understand the performance overhead introduced by jni-fuse and provides an upper-bound performance data for Alluxio jni-fuse implementations.
Modifier and Type | Method and Description |
---|---|
int |
chmod(String path,
long mode) |
int |
chown(String path,
long uid,
long gid) |
int |
create(String path,
long mode,
FuseFileInfo fi) |
int |
flush(String path,
FuseFileInfo fi) |
int |
getattr(String path,
FileStat stat) |
String |
getFileSystemName() |
int |
mkdir(String path,
long mode) |
int |
open(String path,
FuseFileInfo fi) |
int |
read(String path,
ByteBuffer buf,
long size,
long offset,
FuseFileInfo fi) |
int |
readdir(String path,
long buff,
long filter,
long offset,
FuseFileInfo fi) |
int |
release(String path,
FuseFileInfo fi) |
int |
rename(String oldPath,
String newPath,
int flags) |
int |
rmdir(String path) |
int |
statfs(String path,
Statvfs stbuf) |
int |
unlink(String path) |
int |
utimens(String path,
long aSec,
long aNsec,
long mSec,
long mNsec) |
int |
write(String path,
ByteBuffer buf,
long size,
long offset,
FuseFileInfo fi) |
chmodCallback, chownCallback, createCallback, flushCallback, getattrCallback, getContext, getxattrCallback, listxattrCallback, mkdirCallback, mount, openCallback, readCallback, readdirCallback, releaseCallback, removexattrCallback, renameCallback, rmdirCallback, setxattrCallback, statfsCallback, symlinkCallback, truncateCallback, umount, unlinkCallback, utimensCallback, writeCallback
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
link, opendir, releasedir, symlink, truncate
public int readdir(String path, long buff, long filter, long offset, FuseFileInfo fi)
public int open(String path, FuseFileInfo fi)
public int read(String path, ByteBuffer buf, long size, long offset, FuseFileInfo fi)
public int create(String path, long mode, FuseFileInfo fi)
public int write(String path, ByteBuffer buf, long size, long offset, FuseFileInfo fi)
public int mkdir(String path, long mode)
public int rmdir(String path)
public int unlink(String path)
public int utimens(String path, long aSec, long aNsec, long mSec, long mNsec)
public int chmod(String path, long mode)
public int chown(String path, long uid, long gid)
public int flush(String path, FuseFileInfo fi)
public int release(String path, FuseFileInfo fi)
public String getFileSystemName()
Copyright © 2023. All Rights Reserved.