[dm-devel] [PATCH] dm: verity: Add support for emitting uevents on dm-verity errors.

Alasdair G Kergon agk at redhat.com
Fri Jun 21 00:59:05 UTC 2013


On Thu, Jun 20, 2013 at 02:21:00PM -0700, Geremy Condra wrote:
> With this change and config option, dm-verity errors
> will cause uevents to be sent to userspace, notifying
> it that an error has occurred and potentially
> triggering recovery actions.
 
> +config DM_VERITY_ERROR_NOTIFY
> +	tristate "Notify userspace of verity errors through uevents"
> +	depends on DM_VERITY && DM_UEVENT
> +	---help---
> +	  This option instructs dm-verity to send uevents on error.
> +

Would it cause any problems if we had this feature enabled all the time,
controlled only by DM_UEVENT?

In other words, if we delete DM_VERITY_ERROR_NOTIFY from the upstream patch?

Alasdair




More information about the dm-devel mailing list