1 Jul 2012 09:08
Question about raid5 disk recovery logic
Alexander Lyakas <alex.bolshoy <at> gmail.com>
2012-07-01 07:08:40 GMT
2012-07-01 07:08:40 GMT
Hi everybody, I am trying to understand what happens when raid5 is recovering a disk, and a write comes to a stripe that has not been recovered yet. Does md first reconstruct the missing chunk and then applies the write, or first the write is applied as if the array is still degraded (and not recovering), and only later the missing chunk is reconstructed (when the md_do_sync() loop gets to this area)? I am looking at the stripe handling logic (kernel 2.6.38), can anybody pls point me at the path that handle_stripe5() takes in that case? Thanks, Alex. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed