Re: [dm-devel] [PATCH] dm: verity: Add support for emittinguevents on dm-verity errors.

From: Alasdair G Kergon
Date: Thu Jun 20 2013 - 20:59:15 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/