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 |
flush(String path,
FuseFileInfo fi) |
int |
getattr(String path,
FileStat stat) |
String |
getFileSystemName() |
int |
open(String path,
FuseFileInfo fi) |
int |
read(String path,
ByteBuffer buf,
long size,
long offset,
FuseFileInfo fi) |
int |
readdir(String path,
long bufaddr,
FuseFillDir filter,
long offset,
FuseFileInfo fi) |
int |
release(String path,
FuseFileInfo fi) |
chmodCallback, chownCallback, createCallback, flushCallback, getattrCallback, getLibFuse, mkdirCallback, mount, openCallback, readCallback, readdirCallback, releaseCallback, renameCallback, rmdirCallback, statfsCallback, truncateCallback, umount, unlinkCallback, writeCallback
public int readdir(String path, long bufaddr, FuseFillDir 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 flush(String path, FuseFileInfo fi)
public int release(String path, FuseFileInfo fi)
public String getFileSystemName()
Copyright © 2023. All Rights Reserved.