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

Geremy Condra gcondra at google.com
Fri Jun 21 01:12:07 UTC 2013


On Thu, Jun 20, 2013 at 5:59 PM, Alasdair G Kergon <agk at redhat.com> wrote:

> 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?
>

Assuming nobody currently using DM_UEVENT minds it doesn't cause any
problems for me. Any current users object?

Geremy Condra


>
> Alasdair
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20130620/56355a10/attachment.htm>


More information about the dm-devel mailing list