Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754883AbbLBUWI (ORCPT ); Wed, 2 Dec 2015 15:22:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60414 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbbLBUWF (ORCPT ); Wed, 2 Dec 2015 15:22:05 -0500 Date: Wed, 2 Dec 2015 15:22:03 -0500 From: Mike Snitzer To: Sami Tolvanen Cc: Will Drewry , Kees Cook , Mandeep Baines , linux-kernel@vger.kernel.org, device-mapper development , Mikulas Patocka , Mark Salyzyn , Alasdair Kergon , Milan Broz Subject: Re: [PATCH 0/4] dm verity: add support for error correction Message-ID: <20151202202203.GB51353@redhat.com> References: <1446688954-29589-1-git-send-email-samitolvanen@google.com> <563B066C.6050202@redhat.com> <20151105173306.GA22302@google.com> <20151109163735.GA28884@redhat.com> <20151109191925.GA29185@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151109191925.GA29185@google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 31 On Mon, Nov 09 2015 at 2:19P -0500, Sami Tolvanen wrote: > On Mon, Nov 09, 2015 at 11:37:35AM -0500, Mike Snitzer wrote: > > I'm left wondering: can the new error correction code be made an > > optional feature that is off by default? -- so as to preserve some > > isolation of this new code from the old dm-verity behaviour. > > It's optional in the sense that you must specify error correction > parameters in the table to turn it on. Otherwise, verity_dec_decode > returns -1 and dm-verity handles errors as before. > > > might be good to add a wrapper like verity_fec_is_enabled(). > > Sure. I can do this in v2 and address the other feedback and build > issues as well. Hi Sami, Any progress on v2 that takes into account previous review feedback? Note I've staged the first 2 patches in this series for Linux 4.5 inclusion, see: https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-4.5 Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/