Re: enhancements to the raid1 driver
From: Neil Brown <hidden>
Date: 2003-02-17 02:51:32
On Friday February 14, Paul.Clements@SteelEye.com wrote:
Hi, I'm just beginning a project to add some new features to the raid1 driver. The planned features include: intent log - a disk-backed bitmap to allow for quick resyncs (Peter T. Breuer's fr1 code looks very promising)
An intent log would be just as useful for raid5 as for raid1, so I think it should be largely supported by md.c rather than specific to raid1.c
asynchronous replication - to get acceptable performance when the backup leg of the raid1 mirror is slow (e.g., nbd over a LAN or WAN)
Hmmm. I cannot figure out exactly what would be asynchronous... Nor can I see how this would require an ioctl. In general, ioctl's are seen a evils to be avoided, not added, so I am not in favour of the patch you suggest. Maybe if you explain more about what would be the specifics of these ioctls that you want to pass down. NeilBrown