Re: [patch] remove artificial software max_loop limit

From: Valdis . Kletnieks
Date: Sat Apr 07 2007 - 12:19:37 EST


On Fri, 06 Apr 2007 16:33:32 EDT, Bill Davidsen said:
> Jan Engelhardt wrote:

> > Who cares if the user specifies max_loop=8 but still is able to open up
> > /dev/loop8, loop9, etc.? max_loop=X basically meant (at least to me)
> > "have at least X" loops ready.
> >
> You have just come up with a really good reason not to do unlimited
> loops.

That, and I'd expect the intuitive name for "have at least N ready" to
be 'min_loop=N'. 'max_loop=N' means (to me, at least) "If I ask for N+1,
something has obviously gone very wrong, so please shoot my process before
it gets worse".

Maybe what's needed is *both* a max_ and min_ parameter?

Attachment: pgp00000.pgp
Description: PGP signature