Skip to content
Snippets Groups Projects

cache size = "max"

Closed Lukas Jezek requested to merge 524-cache-size-max into master
1 unresolved thread

Closes #524 (closed)

Merge request reports

Pipeline #57701 passed

Pipeline passed for 264bb696 on 524-cache-size-max

Approval is optional

Closed by Vladimír ČunátVladimír Čunát 5 years ago (Jan 28, 2020 10:19am UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
172 173 return 1;
173 174 }
174 175
176 static unsigned long partition_size(const char *path)
177 {
178 int ret;
179 struct statvfs buf;
180
181 if (!path)
182 return 0;
183
184 ret = statvfs(path, &buf);
185 if (ret != 0)
186 return 0;
187
188 return buf.f_bsize * buf.f_bavail;
  • As noted on #524 (closed), we're going for a different approach.

  • Please register or sign in to reply
    Loading