|The reason the metadata wraps around is to decrease the likelihood of losing all your metadata if a failure happens during an update.|
If you always write from the beginning of the area, then any partial write guarantees a complete loss. If you always start part-way through, then you only lose data when your metadata approaches the full size of the MDA. Since this is most likely an issue with small arrays (where there are few disks and you may only have 1 or 2 MDAs), this gives vastly greater chances of recovery.
Also, even in the event of a failure, you are likely to get the beginning of the new data + end the of the old data--which is more recoverable (by hand) than the alternatives.
It's all about increasing chances of recoverability in the event of a failure.
On Jan 5, 2009, at 2:22 AM, Tejas Sumant wrote: