+ dm-devel On Sun, Jan 12, 2020 at 5:43 AM Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx> wrote: > > I'm testing dm-integrity. > Simple question: when corrupted data are found, repair is done > immediately or on next scrub? > > This is what I have: > > [ 6727.395808] md: data-check of RAID array md0 > [ 6727.528589] device-mapper: integrity: Checksum failed at sector 0xe228 > [ 6727.938689] md: md0: data-check done. > [ 6749.125075] md: data-check of RAID array md0 > [ 6749.664269] md: md0: data-check done. > > if repair is done immediatly, would be possible to add a single log > line saying that ? > something like: > [ 6727.528589] md: md0: Repaired data at sector 0xe228 I guess this belongs to dm-integrity instead of md? Thanks, Song