Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753197AbdHWCTP (ORCPT ); Tue, 22 Aug 2017 22:19:15 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:48977 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753084AbdHWCTO (ORCPT ); Tue, 22 Aug 2017 22:19:14 -0400 To: Suganath Prabu S Cc: jejb@kernel.org, hch@infradead.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, Sathya.Prakash@broadcom.com, kashyap.desai@broadcom.com, linux-kernel@vger.kernel.org, chaitra.basappa@broadcom.com, sreekanth.reddy@broadcom.com, linux-nvme@lists.infradead.org Subject: Re: [PATCH v4 00/14] mpt3sas driver NVMe support: From: "Martin K. Petersen" Organization: Oracle Corporation References: <1503322344-5900-1-git-send-email-suganath-prabu.subramani@broadcom.com> Date: Tue, 22 Aug 2017 22:18:06 -0400 In-Reply-To: <1503322344-5900-1-git-send-email-suganath-prabu.subramani@broadcom.com> (Suganath Prabu S.'s message of "Mon, 21 Aug 2017 19:02:10 +0530") 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: 888 Lines: 26 Suganath, > mpt3sas: SGL to PRP Translation for I/Os to NVMe devices I'm still confused about this patch. - I don't understand why you go through all these hoops to decide whether to use PRPs or IEEE scatterlists. If the firmware translation is slow, why even bother with the SG format in the first place? Set the max I/O size to match MDTS and you're done. - What's the benefit of using SG for regular I/O commands? - If the unmap translation in firmware is slow, why don't you translate WRITE SAME/w UNMAP set to DSM DEALLOCATE without requiring applications to do encapsulated passthrough? Also make sure you attribute your patches correctly (From: root ). And you don't need that long CC: list. Just send the patch series to linux-scsi@vger.kernel.org. Thanks! -- Martin K. Petersen Oracle Linux Engineering