Skip to contentSkip to conversation

Status of dm integrity checksumming features

DISCUSSION Pasi Kärkkäinen 1 participant 2 messages Mar 24, 2010 – Apr 27, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Pasi Kärkkäinen

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)

Quoted 9 lines

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?

Any comments about this?

-- Pasi