Bug 48688 - RFE: journal: Make keep_free space follow the filesystems reserved blocks
Summary: RFE: journal: Make keep_free space follow the filesystems reserved blocks
Status: NEW
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
Depends on:
Reported: 2012-04-14 05:59 UTC by Sjoerd Simons
Modified: 2014-06-25 09:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

proposed patch (1.90 KB, patch)
2012-04-14 05:59 UTC, Sjoerd Simons
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Sjoerd Simons 2012-04-14 05:59:52 UTC
Created attachment 59968 [details] [review]
proposed patch

I'm not sure why the journal defauls to keeping 5% of the filesystem free. At a guess it follows the ext[234] default of 5%.

Ofcourse whether the 5% is appropriate really depends on the system. On a big filesystem it's way too much (e.g. 50G on a 1T system seems a bit overkill), while on a somewhat conservatively sized filesystem it may be still too much. 

As filesystems already have a reserved block count, which should be kept free for priviledged users it seems better to follow that. Which also means by default it followed the administrators or distributions preference for the filesystem setup.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.