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

2013-06-20 Thread Geremy Condra
With this change dm-verity errors will cause uevents to be sent to userspace, notifying it that an error has occurred and potentially triggering recovery actions. Signed-off-by: Geremy Condra --- Changelog since v1: - Removed the DM_VERITY_ERROR_NOTIFY config option drivers/md/dm-uevent.c | 40

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

2013-06-20 Thread Geremy Condra
On Thu, Jun 20, 2013 at 6:30 PM, Alasdair G Kergon wrote: > On Thu, Jun 20, 2013 at 06:12:07PM -0700, Geremy Condra wrote: >> Assuming nobody currently using DM_UEVENT minds it doesn't cause any >> problems for me. Any current users object? > > DM_UEVENT toggles uevents

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

2013-06-20 Thread Geremy Condra
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. Signed-off-by: Geremy Condra Change-Id: If3d9c00770d1a640faa0d42318cce675da40c000 --- drivers/md/Kconfig | 6