GithubHelp home page GithubHelp logo

Comments (3)

jti-lanl avatar jti-lanl commented on September 4, 2024

See item #34

The current state of affairs has commented-out code to take care of finding the currently-used capacity. In order to compute the real current usage, we can either read through all the fsinfos in all namespaces and add them up to get the total usage, or we can refer to the file where the root-namespace fsinfo is configured, which could be filled in by Alfred's tool. Either way, we get the total storage used by all namespaces, but the latter approach requires only 1 stat.

However, if we want to say how much storage is available, what do we do? We don't want every call to statvfs()/df to go probe the storage system to see how much space is available. (Or do we?) And the storage available in the MDFS is not the true limit of our capacity (though it does represent the limit of inodes ... until we get to sharding).

Maybe we want the periodic scan to also do queries of the object-store, etc, and initialize other files, so statvfs can report the correct limits on capacity? Or maybe statvfs just takes as long as it takes, to get correct info.

from marfs.

brettkettering avatar brettkettering commented on September 4, 2024

We can get by without this for Secure Campaign, but let's implement it if we have time.

from marfs.

shanegoff avatar shanegoff commented on September 4, 2024

Stale issue cleanup

from marfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.