[systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

Tom Gundersen teg at jklm.no
Fri Sep 30 07:52:01 PDT 2011


On Fri, Sep 30, 2011 at 4:26 PM, Paolo Bonzini <bonzini at gnu.org> wrote:
> On 09/30/2011 03:39 PM, Kay Sievers wrote:
>>
>> Sure. I just think that this is not what we really want in the end.
>
> That I agree with, but good is the enemy of perfect...

How about this:

Rather than making the split between / and /usr, make it between
Before and After basic.target (as basic.target is roughly what
traditionally would require files to be on /). This would require us
to associate files to be readahead with services, but based on what
you wrote in a previous message that should be easy enough.

I guess that would give you roughly the same effect, but without
relying on a split which is going away.

I still think that is far, far from perfect, but it might be a start
(especially the association between files and services might turn into
something very useful).

Cheers,

Tom


More information about the systemd-devel mailing list