Re: 2.1.x config options??

Gadi Oxman (gadio@netvision.net.il)
Wed, 14 Jan 1998 13:32:12 +0300 (IST)


On Wed, 14 Jan 1998, Malcolm Beattie wrote:

> Configure your real disk(s) to be in a mirror set with md. Configure
> the network block device in the mirror set too but mark it bad. In the
> usual situation, then, reads are satisfied from the real disk and
> writes to the mirror set are written to the real disk (and nowhere
> else) so its fast.

We can also add code to the RAID driver which will fine tune the read
balancing algorithm -- instead of uniformally distributing reads over
the mirrors, we can issue write requests to all the mirrors, but issue
read requests only to the local mirrors.

Gadi