[dm-devel] [PATCH] dm-verity: Add error handling modes for corrupted blocks

Alasdair G Kergon agk at redhat.com
Tue Mar 17 00:37:47 UTC 2015


On Mon, Mar 16, 2015 at 03:55:59PM +0000, Sami Tolvanen wrote:
> +<mode>
> +    Optional. The mode of operation.
> +    0 is the normal mode of operation where a corrupted block will result in an

The usual dm style uses a word rather than hiding behind a numeric code that has
to be learned or looked up.

> +#define DM_VERITY_ENV_VAR_NAME		"VERITY_ERR_BLOCK_NR"

Missing DM_ prefix?

Alasdair




More information about the dm-devel mailing list