请问学习RAID驱动程序源码有没有什么好的方法?
linux下的RAID驱动好像是md的源代码。我实在苦无头绪,望高手指点一下应该怎样才能脉络清晰? do u understand what is raid? and do u know how to use raid?
2.4 or 2.6 u want to read? raid就是廉价冗余磁盘阵列。
看书后了解了一下怎么用它,但没怎么实际用过。是不是学源码需要知道怎么操作呢?
我看的是2.4版本下的md源码,不知道对不对。 i think u can try to use it first to understand its usage. then u have a better idea on why they need to implement the code like that way. and i suggest to briefly read md.c to see the whole framework, then read raid0 and 1 code. since they are eaiser to understand. then when u think u fullly understand the code, begin to read raid5. 2.4 code is ok. with raid code done, u can begin to read devicemapper code. 明白啦。谢谢你。
页:
[1]