Bug 48688

Summary: RFE: journal: Make keep_free space follow the filesystems reserved blocks
Product: systemd Reporter: Sjoerd Simons <sjoerd>
Component: generalAssignee: Lennart Poettering <lennart>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: proposed patch

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.