On 31/05/12 07:42, NeilBrown wrote: > Hmmm... that's bad. Looks like I have a bug .... yes I do. Patch below > fixes it. If you could test and confirm I would appreciated it. I've tested the patch and I can confirm that it works as expected, now. Thanks for fixing it that fast! I've tested at least raid 01. How could one test the raid10.c changes? Create raid 010 where raid0.c is below rai10.c in the stack? > As for the cached writes being always 4K - are you writing through a > filesystem or directly to /dev/md300?? I've got a file copy test which creates a file with fio, random data and direct IO on ext4. Afterwards I copy the file which isn't in the cache and measure the time. So this reads first and then writes back. During the copy I run blktrace in order to have a closer look at the request sizes. The throughput is at a stable number after multiple cycles. Cheers, Sebastian -- 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