blk_integrity_register(9)

blk_integrity_register9

Register a gendisk as being integrity-capable

Usage

void blk_integrity_register(struct gendisk * disk, struct blk_integrity * template);

Arguments

disk

struct gendisk pointer to make integrity-aware

template

block integrity profile to register

Overview

When a device needs to advertise itself as being able to send/receive integrity metadata it must use this function to register the capability with the block layer. The template is a blk_integrity struct with values appropriate for the underlying hardware. See Documentation/block/data-integrity.txt.

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.