On Wed, 16 Feb 2011 11:21:50 -0300 Roberto Spadim <roberto@xxxxxxxxxxxxx> wrote: > since we have the option1 done, why continue with raid1 code? could we > port write-behind to raid10 code? No. write-behind depends on write-mostly, and write-mostly only really makes sense for RAID1. I much prefer to keep these two code bases separate. > another thing, could raid10 work without replica? like a raid0? Why don't you try it? Choose a layout that asks for only 1 copy of the data. It should work. > > why? just to remove many files with the same function (raid1and raid0, > if raid10 do the same work, many some mdadm changes allow us to > --level=1 to understand that's raid10 without stripe, --level=0 is > raid10 without mirrors) Again, RAID0 has some features that RAID10 doesn'tand cannot. I suggest you read man pages (e.g. 'man md') to find out the details. Also the RAID0 code is much simpler and hence possibly faster. NeilBrown -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html