[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq18tmvpzr9.fsf@oracle.com>
Date: Wed, 19 Apr 2017 22:40:58 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
martin.petersen@...cle.com
Subject: Re: [PATCH 5/9] bio-integrity: fold bio_integrity_enabled to bio_integrity_prep
Dmitry Monakhov <dmonakhov@...nvz.org> writes:
> Currently all integrity prep hooks are open-coded, and if prepare
> fails we ignore it's code and fail bio with EIO. Let's return real
> error to upper layer, so later caller may react accordingly.
>
> In fact no one want to use bio_integrity_prep() w/o
> bio_integrity_enabled, so it is reasonable to fold it in to one
> function.
Agree with Christoph's comments. Otherwise OK.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists