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

2013-06-26 Thread Mikulas Patocka
Hi I think the idea is fine. There is architecture problem - that target specific routines are being pushed into generic dm core. I suggest that instead of dm_send_verity_uevent and dm_path_uevent you create just one generic function (for example dm_send_uevent) that takes variable argument

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

2013-06-26 Thread Mikulas Patocka
Hi I think the idea is fine. There is architecture problem - that target specific routines are being pushed into generic dm core. I suggest that instead of dm_send_verity_uevent and dm_path_uevent you create just one generic function (for example dm_send_uevent) that takes variable argument

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

2013-06-23 Thread Will Drewry
On Thu, Jun 20, 2013 at 10:00 PM, Geremy Condra wrote: > 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

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

2013-06-23 Thread Will Drewry
On Thu, Jun 20, 2013 at 10:00 PM, Geremy Condra gcon...@google.com wrote: 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 gcon...@google.com ---

[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

[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 gcon...@google.com --- Changelog since v1: - Removed the DM_VERITY_ERROR_NOTIFY config option