[dm-devel] [PATCH] dm-verity: Add error handling modes for corrupted blocks

Mikulas Patocka mpatocka at redhat.com
Wed Mar 18 15:42:47 UTC 2015



On Wed, 18 Mar 2015, Sami Tolvanen wrote:

> On Tue, Mar 17, 2015 at 02:03:58PM -0400, Vivek Goyal wrote:
> > Without knowing too much of detail, asking kernel to restart because one
> > block was corrupt sounds little drastic.
>  
> I agree, it's drastic, but in our use case it's necessary, because we have
> critical system data on a verified partition. Depending on which blocks are
> corrupted, the system may no longer be functional at this point.

As a user, I'd rather have half-functioning device where I can at least 
try to recover some data than a non-functioning device that continuously 
reboots.

I hope that you at least turn this feature off after a few reboots and 
give the user a chance to save his data.

Mikulas




More information about the dm-devel mailing list