Date: Thu, 08 May 2008 15:15:46 +0100 From: Pete French <petefrench@ticketswitch.com> To: freebsd-stable@freebsd.org, ivoras@freebsd.org Subject: Re: Dreadful gmirror performance - suggested changes to 'prefer' Message-ID: <E1Ju6uQ-0002LK-52@dilbert.ticketswitch.com> In-Reply-To: <fvuvn7$3u7$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hmm, it would seem you need "N-and-upper" and "N-and-lower", but this is > inconvenient. Your original idea is probably better. Certainly simpler to implement. Ideally, of course, you could change the priority on the fly (which would solve all of this) but the fact that it is stored in priority order makes that a bit of a pain too I would imagine. Do you have any thoughts on dumping by the way ? I initially implemnted the code to chheck for 'prefer-low' and dump to the last disc instead of the first. But the manual page suggests ways of working with prefer which may well be broken doing it that way, so I took the change out in order to make the manpage advice still correct. I have a working implementation here now if anyone wants to test by the way - I ended up simply adding a 'prefer-low' and changing the default priority. Everything else behaves the same as it always did. -pete.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Ju6uQ-0002LK-52>