Could someone take a look at a small patch to gmirror ?

Pete French petefrench at ticketswitch.com
Thu Sep 4 15:59:11 UTC 2008


Hi, I was told on -stable that I might get more luck here regarding a
patch I wrote to gmirror a while ago. It simply adds a new balacing
algorithm called 'prefer-low' which does the reverse to 'prefer' - i.e.
will always read from the disc with the lowest priority, not the highest.
I also moved the default priority to the centre of the range, so that drives
can be added to a mirror with a lower or higher priority than the original.

I submitted this as PR in May here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=123630

I have been using this patch live on our database servers since then
and it works fine. I have stress tested it as much as I can, and was hoping
that someone else might like to take a look, give a bit of testing and
commit it. The patch includes manpage changes as well as code changes,
it was written relative to stable at the time, but patches against 7.1
prerelease cleanly as well. I was hopinh it might make it into 7.1, but
maybe it is a bit too late for that.

Anyway, I hope someone can take a look

thanks,

-pete.


More information about the freebsd-geom mailing list