Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5482556yba; Mon, 13 May 2019 11:36:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyYwyEJFB2IMHi73ixzXgpNJhFqKb9kQ8extSC+Vrq39unmZY+gq1Wak7kvAkF4ZyS2aYr X-Received: by 2002:a62:460a:: with SMTP id t10mr34530887pfa.3.1557772561290; Mon, 13 May 2019 11:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557772561; cv=none; d=google.com; s=arc-20160816; b=Rkh9Smb+Hwoj5Eai5eK4T6A0FdqAL8hUQ4NDkd4SsmndCYEvlDznB6MNJOCcpreykO P8OyCmZ22DMI9HhY9E0I5kEmoJyYiBwwLwOXX5XCfvFiQFEjIZzo/rMd98rb97agvyvw bjG8moCl8yz82ackUCPpWZzHJi/ys3/6OO40GgsvGfA+CFA3du1ADO8yuI08RhrBV6oq 2qMqsOWDkUkxDKnh9dzV4/mF0kkQKutUZ+cpbNEHIIW2iIz6dT7Ca3OXcvvBkSkLs1y3 bD1k3R9x+qcs9ezqbJh7t3p8iX7vmm6OMPPjK/ayhqkJhfxFc6FBqwhDBZAX/kKi4AiF 0cnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=C7voGvIz1Mro50lqBnPKKj2CWBhaokOwzo7P+5YBsm8=; b=Lz7M26xUSbdBBv+ipYGhTtnKQX3U6gK2GxYP7mdc7eqissWPJO/QV++nyoQJFHBq/Z OLiXbQ15chdemzgwUyxJj3IDHo4Um/szB6OW6AKVGH53q9rOOZ/s8iW6rLtIS6LueNDG FfYQt+UlcmvqdqkzVHd0wid2aw+gXRoIGzjcPiQrPWsDKR7BWcyT94bafpl4C9u7RdgL UYdJ87WdAKaSGSm2n72uGHy9xY4m9nXkPI2cTde2xrRbL6KMhhfn0xQfRXvBJfdQvkB9 cNB5b689pekTvwuEzsal+fZ6AEGIbig40NX4Nfod87q/Bwn8DpI2pTp7CGPC34pcblVm i1Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p4xxK9Mt; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t188si10678135pgc.228.2019.05.13.11.35.36; Mon, 13 May 2019 11:36:01 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p4xxK9Mt; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730823AbfEMPCD (ORCPT + 99 others); Mon, 13 May 2019 11:02:03 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44689 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730098AbfEMPCD (ORCPT ); Mon, 13 May 2019 11:02:03 -0400 Received: by mail-pf1-f195.google.com with SMTP id g9so7343501pfo.11 for ; Mon, 13 May 2019 08:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=C7voGvIz1Mro50lqBnPKKj2CWBhaokOwzo7P+5YBsm8=; b=p4xxK9Mtx+xg5+k+hZu9ZBOfd0Sf1jrR3sIiWSG/lyTOQtD+Q8c/mSfXlpRX2UHFdx IWzvaZfGuFsrAnS7jAOduiso+wNQMqNnL1JHU9xHIHWl+r9+i3gq5FNFyD5lAtKkJ84J 6smJ66yf9FEYk0amnNLRgUH0DNsD1qapxtA3Uw6ONaMrJy3WvxAVUfOK5/Xu4fUsEgqC rB0bRzJeq+givqfupC5xMLgzkxhWs21s6FIvoDneGMyLyeDps0M8d6N40uUjanpgwFgo Kg6FTMpYwOEraKAnCnTzyh0Odeojfvqg0ytInx9P3zVTC8C5K8fvWWSAKnLyklmL5Hnq wuwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=C7voGvIz1Mro50lqBnPKKj2CWBhaokOwzo7P+5YBsm8=; b=ZBvVS9Wb2L1xNeBTAZSVvm7ZS30d2YBOTR6lLiy+q31L8h6PeuFgXpWxfWABQFQ87/ jRp3mM+ad0xCL6pr6QjMfkqBODeY98+onfc9FeqoGVo6z12T8KQNh4O9MOkZlIgrVR1u bju/xWszAruvTFeHu+DuzBRU75bypxLCBktEB+k+aK8MUnk4ARD99UQf+Xew3O8QdHXh rpWs+tAj6y7JcAXVc8eXq7ms7bzOYh7Lr9QsHmTxF3cbkL23u9pUZiMkNaN6nhheVNo/ brN9yGhS37CzzvKj3ZLFj4+aHud8glvlboqlYv+oRhlFcvY1rhjPndgBxZHNTIfZ6S/O QXSg== X-Gm-Message-State: APjAAAXor1HDBQK9nJfTHSgQonQZOTMZd7XUmFaJbRDIGh9BX/B3T9qJ Fql+VJ2A56ZZcVOG6xUbQeg7B2ZQg+LWkpVdbfc= X-Received: by 2002:a63:6988:: with SMTP id e130mr32026855pgc.150.1557759722780; Mon, 13 May 2019 08:02:02 -0700 (PDT) MIME-Version: 1.0 References: <1557676457-4195-1-git-send-email-akinobu.mita@gmail.com> <1557676457-4195-6-git-send-email-akinobu.mita@gmail.com> <20190513140246.GB24840@lst.de> In-Reply-To: <20190513140246.GB24840@lst.de> From: Akinobu Mita Date: Tue, 14 May 2019 00:01:51 +0900 Message-ID: Subject: Re: [PATCH v3 5/7] nvme-pci: add device coredump infrastructure To: Christoph Hellwig Cc: linux-nvme@lists.infradead.org, LKML , Johannes Berg , Keith Busch , Jens Axboe , Sagi Grimberg , Minwoo Im , Kenneth Heitke Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2019=E5=B9=B45=E6=9C=8813=E6=97=A5(=E6=9C=88) 23:03 Christoph Hellwig : > > 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?) OK. I'll try to use bio_vec and see how it goes.