Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940788AbdDTCef (ORCPT ); Wed, 19 Apr 2017 22:34:35 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:21887 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S939867AbdDTCed (ORCPT ); Wed, 19 Apr 2017 22:34:33 -0400 To: Dmitry Monakhov Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, martin.petersen@oracle.com Subject: Re: [PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data From: "Martin K. Petersen" Organization: Oracle References: <1491332201-26926-1-git-send-email-dmonakhov@openvz.org> <1491332201-26926-2-git-send-email-dmonakhov@openvz.org> Date: Wed, 19 Apr 2017 22:34:25 -0400 In-Reply-To: <1491332201-26926-2-git-send-email-dmonakhov@openvz.org> (Dmitry Monakhov's message of "Tue, 4 Apr 2017 22:56:33 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 256 Lines: 9 Dmitry Monakhov writes: > If bio has no data, such as ones from blkdev_issue_flush(), > then we have nothing to protect. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering