# echo 3 >'/proc/sys/vm/drop_caches'
# dd if=/dev/md127 of=/dev/null count=$((20*1024*1024))
20971520+0 records in
20971520+0 records out
10737418240 bytes (11 GB) copied, 13.5717 s, 791 MB/s
Note that I do not expect to get an error because reading the array will not read the P/Q checksums
(it assumes good data and avoids the calculations overhead of verifying P/Q).
BTW, due to the use of a buffer layer I could have done the whole test using 4k blocks rather than
sectors, but it makes no difference in this case.
Eyal
I wonder, could you not use dd to perform a "refresh"?
dd if=/dev/md127 of=/dev/md127 count=... bs=....
As that would force a re-calc and write of P & Q and data.
That said, its just a "could you/would it" suggestion not a "do it" due
to the inherent dangers of dd.