Re: [PATCH] bdi_congestion_funp (was: Re: [PATCH] per processrequest limits (was Re: IO scheduler, queue depth, nr_requests))

From: Andrew Morton
Date: Sun Feb 22 2004 - 14:59:14 EST


Miquel van Smoorenburg <miquels@xxxxxxxxxxx> wrote:
>
> The pdflush-is-running-on-this-queue bit can probably remain as-is. It's
> mostly meant to prevent 2 pdflush daemons from running the same queue.
> I don't see much harm in pdflush #1 running on /dev/md0 which consists
> of /dev/sda1 and /dev/sdb1 and pdflush #2 running on /dev/sdb2, right ?

Yes, having two pdflushes working the same spindle is a bit pointless but
is presumably fairly harmless.

The most important thing here is to prevent pdflush from blocking on
request exhaustion. Because while pdflush sleeps on a particular disk, all
the others remain unserviced.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/