Examples of CephStatVFS


Examples of com.ceph.fs.CephStatVFS

        CephConfigKeys.CEPH_OBJECT_SIZE_DEFAULT);
  }
 
  @Override
  public FsStatus getStatus(Path p) throws IOException {
    CephStatVFS stat = new CephStatVFS();
    ceph.statfs(p, stat);

    FsStatus status = new FsStatus(stat.bsize * stat.blocks,
          stat.bsize * (stat.blocks - stat.bavail),
          stat.bsize * stat.bavail);
 
View Full Code Here

Examples of com.ceph.fs.CephStatVFS

        CephConfigKeys.CEPH_OBJECT_SIZE_DEFAULT);
  }
 
  @Override
  public FsStatus getStatus(Path p) throws IOException {
    CephStatVFS stat = new CephStatVFS();
    ceph.statfs(p, stat);

    FsStatus status = new FsStatus(stat.bsize * stat.blocks,
          stat.bsize * (stat.blocks - stat.bavail),
          stat.bsize * stat.bavail);
 
View Full Code Here

Examples of com.ceph.fs.CephStatVFS

        CephConfigKeys.CEPH_OBJECT_SIZE_DEFAULT);
  }
 
  @Override
  public FsStatus getStatus(Path p) throws IOException {
    CephStatVFS stat = new CephStatVFS();
    ceph.statfs(p, stat);

    FsStatus status = new FsStatus(stat.bsize * stat.blocks,
          stat.bsize * (stat.blocks - stat.bavail),
          stat.bsize * stat.bavail);
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.