[systemd-devel] [PATCH] readahead: add option to create pack in directory other than root
Kay Sievers
kay at vrfy.org
Wed Jul 9 03:45:10 PDT 2014
On Wed, Jul 9, 2014 at 1:07 AM, Colin Walters <walters at verbum.org> wrote:
> On Tue, Jul 8, 2014, at 05:12 AM, Lennart Poettering wrote:
>>
>> b) readahead-collect would check if /var/lib/systemd is on the same
>> mount point as /. If so, it would store the file in
>> /var/lib/systemd/readahead. Otherwise it would store the file in
>> /.readahead, as before.
>
> If this logic was extended so that systemd also checked whether / was
> writable, and fell back to writing to /var regardless, it would work for
> OSTree at least. (/ is immutable on ostree since
> https://bugzilla.gnome.org/show_bug.cgi?id=728006 )
Honestly, we should just remove all of readahead from the systemd tree.
It is a blast from the past, does nothing but slow things down on
modern machines. It should not be enabled by default, and stuff which
we do not enable, can as well be provided by optional external
packages instead of being maintained here.
Kay
More information about the systemd-devel
mailing list