blk_integrity_compare(9)

blk_integrity_compare9

Compare integrity profile of two disks

Usage

int blk_integrity_compare(struct gendisk * gd1, struct gendisk * gd2);

Arguments

gd1

Disk to compare

gd2

Disk to compare

Overview

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.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.