Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751375AbaALLxe (ORCPT ); Sun, 12 Jan 2014 06:53:34 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:58119 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206AbaALLxc (ORCPT ); Sun, 12 Jan 2014 06:53:32 -0500 Message-ID: <52D28238.5010903@dev.mellanox.co.il> Date: Sun, 12 Jan 2014 13:53:28 +0200 From: Sagi Grimberg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Nicholas A. Bellinger" , Sagi Grimberg CC: "Nicholas A. Bellinger" , target-devel , linux-scsi , linux-kernel , "Martin K. Petersen" , Christoph Hellwig , Hannes Reinecke , Or Gerlitz Subject: Re: [PATCH 13/14] target/rd: Add DIF protection into rd_execute_rw References: <1389212157-14540-1-git-send-email-nab@daterainc.com> <1389212157-14540-14-git-send-email-nab@daterainc.com> <52CE7ABA.9080403@mellanox.com> <1389336761.5567.403.camel@haakon3.risingtidesystems.com> In-Reply-To: <1389336761.5567.403.camel@haakon3.risingtidesystems.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> I wander how we can skip sbc_dif_verify_xxxx if the transport already >> offloaded DIF verify. >> I think that the transport should signal the core layer that it is able >> to offload DIF (ADD/STRIP/PASS/VERIFY), in which case the core should >> turn off the backstore DIF verify emulation to sustain performance. > So IBLOCK + PSCSI backends will need to be a non interleaved protection > PASS for fast path operation, and backend protection emulation is > reserved for RAMDISK and perhaps a special FILEIO full emulation mode. But can't we avoid that if transport already verified? This will kill performance. -- 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/