Package com.ceph.fs

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


        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

        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

Related Classes of com.ceph.fs.CephStatVFS

Copyright © 2018 www.massapicom. 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.