'\" t .\" Title: blk_integrity_compare .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "BLK_INTEGRITY_COMPAR" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Block Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" blk_integrity_compare \- Compare integrity profile of two disks .SH "SYNOPSIS" .HP \w'int\ blk_integrity_compare('u .BI "int blk_integrity_compare(struct\ gendisk\ *\ " "gd1" ", struct\ gendisk\ *\ " "gd2" ");" .SH "ARGUMENTS" .PP \fIgd1\fR .RS 4 Disk to compare .RE .PP \fIgd2\fR .RS 4 Disk to compare .RE .SH "DESCRIPTION" .PP Meta\-devices like DM and MD need to verify that all sub\-devices use the same integrity format before advertising to upper layers that they can send/receive integrity metadata\&. This function can be used to check whether two gendisk devices have compatible integrity formats\&. .SH "COPYRIGHT" .br