diff options
author | Andres Salomon <dilinger@queued.net> | 2009-02-11 13:27:02 -0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-02-14 08:59:04 +0000 |
commit | efab0b5d3eed6aa71f8e3233e4e11774eedc04dc (patch) | |
tree | 79906754c394f0e2e081c150ea4494a3bde1b086 /fs/bio.c | |
parent | ab00d68276295a1b4da7ad924a35a3566e9c2698 (diff) | |
download | op-kernel-dev-efab0b5d3eed6aa71f8e3233e4e11774eedc04dc.zip op-kernel-dev-efab0b5d3eed6aa71f8e3233e4e11774eedc04dc.tar.gz |
[JFFS2] force the jffs2 GC daemon to behave a bit better
I've noticed some pretty poor behavior on OLPC machines after bootup, when
gdm/X are starting. The GCD monopolizes the scheduler (which in turns
means it gets to do more nand i/o), which results in processes taking much
much longer than they should to start.
As an example, on an OLPC machine going from OFW to a usable X (via
auto-login gdm) takes 2m 30s. The majority of this time is consumed by
the switch into graphical mode. With this patch, we cut a full 60s off of
bootup time. After bootup, things are much snappier as well.
Note that we have seen a CRC node error with this patch that causes the machine
to fail to boot, but we've also seen that problem without this patch.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions