1BLK_INTEGRITY_COMPAR(9) Block Devices BLK_INTEGRITY_COMPAR(9)
2
3
4
6 blk_integrity_compare - Compare integrity profile of two disks
7
9 int blk_integrity_compare(struct gendisk * gd1, struct gendisk * gd2);
10
12 gd1
13 Disk to compare
14
15 gd2
16 Disk to compare
17
19 Meta-devices like DM and MD need to verify that all sub-devices use the
20 same integrity format before advertising to upper layers that they can
21 send/receive integrity metadata. This function can be used to check
22 whether two gendisk devices have compatible integrity formats.
23
25Kernel Hackers Manual 3.10 June 2019 BLK_INTEGRITY_COMPAR(9)