Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5322857yba; Mon, 13 May 2019 08:58:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDY+6te2OsA6aMomvQUvalZToFFxYMQfZN/9YUyE+7cm2h5RQNOE2Hyehgh/MtE+Wdi+2O X-Received: by 2002:a63:4422:: with SMTP id r34mr30973806pga.362.1557763106716; Mon, 13 May 2019 08:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557763106; cv=none; d=google.com; s=arc-20160816; b=uEezls76/Z/WtB190GCrnMrZmtRkm7BrOSigvwQ8oIRSy5PcbTQYq1Gg1WSt+pTt/P IUlURiqe+lifNaX93CRf9NQSA8SesCb0ekUc5NE03cQi9mcdoGIseeYOnb8rupAL9dy+ P+RkqpJcuErZ3qP4KT9MeACfaSGS/WTSBYO4HTeJmO5dZq4rAXsGrL4njcVHiNi9RT3n wNCERHRHpFad0yj6j3lZdXPd3dAo0/ia9YW9+AvXlC8veF93EJPgdwCMeLkRtBIMK6wp SxBrUv3JvfQux07Bm/V9MnhYdfMSKX7wMqa7psnk5pn1iYbVZg3lTsAiiXjPzrYW1vlD RSVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MzR7Xpr4CCJBDtOVgBVlT8hKGPn3ww1zLp5jw42stvk=; b=Y6s4dyjldz15Kba53/F7wr9QWAasXYsoioKRFG1FO9DB/FzjYlPtf4rEoaW22qL1Dj LvO+lWoQzunuMRHMPBSWy5Q2PPi39WRBaIEuzxQO40EeeuCFKG61oiXK4zTmOo20Vb3n vIKj6RH1UijlSyAVlwy0jFRkJ9JMAvtW2VxdG+HyKGFzPErGwrdnV1yukTxabry0Rr8+ jgQZwTUlRBugxYG0qnthMlOZWVVO7lLp+5w+hFFqVBEtc2PwOlf81zasDm8ICHm+1cR0 mXvaWDImWRWc81I0T3FJ55t+smeXjntXs6HkXnijR3ByN22+7w7gy0sLaOdjZ2OioCBh Qfyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y19si15538025plr.236.2019.05.13.08.58.10; Mon, 13 May 2019 08:58:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730359AbfEMODK (ORCPT + 99 others); Mon, 13 May 2019 10:03:10 -0400 Received: from verein.lst.de ([213.95.11.211]:39457 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730348AbfEMODH (ORCPT ); Mon, 13 May 2019 10:03:07 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 7DDA168AFE; Mon, 13 May 2019 16:02:47 +0200 (CEST) Date: Mon, 13 May 2019 16:02:46 +0200 From: Christoph Hellwig To: Akinobu Mita Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Johannes Berg , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Minwoo Im , Kenneth Heitke Subject: Re: [PATCH v3 5/7] nvme-pci: add device coredump infrastructure Message-ID: <20190513140246.GB24840@lst.de> References: <1557676457-4195-1-git-send-email-akinobu.mita@gmail.com> <1557676457-4195-6-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1557676457-4195-6-git-send-email-akinobu.mita@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Usage of a scatterlist here is rather bogus as we never use it for dma mapping. Why can't you store the various pages in a large bio_vec and then just issue that to the device in one get log page command? (or at least a few if MDTS kicks in?)