[systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var
fcrozat at suse.com
Fri Sep 30 04:45:50 PDT 2011
Le vendredi 30 septembre 2011 à 13:32 +0200, Kay Sievers a écrit :
> On Fri, Sep 30, 2011 at 13:18, Paolo Bonzini <bonzini at gnu.org> wrote:
> > On 09/30/2011 01:05 PM, Tom Gundersen wrote:
> >> Also, I'm not sure if I understand your suggestion that /var should be
> >> ignored. In particular I think /var/tmp would be useful to readahead
> >> (albeit probably as one of the last things to do).
> > You could add that as a third group, after / and /usr. The patch makes that
> > kind of extensibility very easy.
> Rules which files to prioritize *might* make sense, sorting by
> top-level dir doesn't really.
We should probably set a milestone for basic.target, splitting the
readahead for files needed to reach basic.target and all other files
This is something we were doing in speedboot on Mdv (and similar stuff
was done in Fedora readahead IIRC).
Frederic Crozat <fcrozat at suse.com>
More information about the systemd-devel