create lus (least used space) policy. closes #273

This commit is contained in:
Antonio SJ Musumeci 2016-05-07 14:05:38 -04:00
parent e541cdb755
commit f7d3e8bf47
13 changed files with 189 additions and 8 deletions

View file

@ -35,13 +35,17 @@ namespace fs
bool info(const string &path,
bool &readonly,
size_t &spaceavail);
size_t &spaceavail,
size_t &spaceused);
bool readonly(const string &path);
bool spaceavail(const string &path,
size_t &spaceavail);
bool spaceused(const string &path,
size_t &spaceavail);
void findallfiles(const vector<string> &srcmounts,
const char *fusepath,
vector<string> &paths);