[dm-devel] Status of dm integrity checksumming features

Pasi Kärkkäinen pasik at iki.fi
Wed Mar 24 16:39:20 UTC 2010


Hello,

What's the current status of Linux device mapper integrity (checksumming) features? 

iirc bio integrity extensions were integrated into Linux 2.6.27, but those are only
usable for SCSI disks that provide 520-bytes per sector support and also have the 
hardware support for verifying the checksums, correct? Or then you need to have a HBA
or RAID-adapter with integrity support..

(bio integrity patches: http://kerneltrap.org/mailarchive/linux-kernel/2008/6/7/2056354)

Is it possible to use 'normal' 512-bytes per sectors disks, and store the checksums
on them, and calculate/verify the checkcums in software in device mapper.. 
this obviously gives you a bit less usable space, but would be suitable for sw-raid scenarios. 

I guess that sounds pretty much like dm-csum:
https://patchwork.kernel.org/patch/25245/

What's the status of all this nowadays? 

Thanks!

-- Pasi




More information about the dm-devel mailing list